From patchwork Fri Feb 17 05:30:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Rothwell X-Patchwork-Id: 141732 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id CB36610089B for ; Fri, 17 Feb 2012 16:31:56 +1100 (EST) Received: from members.tip.net.au (haggis.tip.net.au [IPv6:2402:b800:7003:1::20]) by ozlabs.org (Postfix) with ESMTP id 5E0BBB6FC4 for ; Fri, 17 Feb 2012 16:31:06 +1100 (EST) Received: from canb.auug.org.au (ibmaus65.lnk.telstra.net [165.228.126.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by members.tip.net.au (Postfix) with ESMTPSA id 185C61640B5; Fri, 17 Feb 2012 16:31:03 +1100 (EST) Date: Fri, 17 Feb 2012 16:30:57 +1100 From: Stephen Rothwell To: Andrew Morton Subject: linux-next: build failure after merge of the final tree (akpm tree related) Message-Id: <20120217163057.8af53b853b36365b7fff203c@canb.auug.org.au> X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.24.9; i486-pc-linux-gnu) Mime-Version: 1.0 Cc: linux-next@vger.kernel.org, ppc-dev , linux-kernel@vger.kernel.org, "H. Peter Anvin" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Hi Andrew, After merging the final tree, today's linux-next build (powerpc allnoconfig) failed like this: In file included from include/linux/posix_types.h:47:0, from include/linux/types.h:17, from include/linux/page-flags.h:8, from kernel/bounds.c:9: arch/powerpc/include/asm/posix_types.h:15:14: error: conflicting types for '__kernel_size_t' arch/powerpc/include/asm/posix_types.h:14:22: note: previous declaration of '__kernel_size_t' was here In file included from include/linux/page-flags.h:8:0, from kernel/bounds.c:9: include/linux/types.h:68:1: error: unknown type name '__kernel_ssize_t' Caused by commit a9dbe86e5995 ("powerpc: use generic posix_types.h"). This think was pointed out a couple of days ago, so maybe Andrew needs a newer version of the patch. I added this fix patch for today: From: Stephen Rothwell Date: Fri, 17 Feb 2012 16:25:48 +1100 Subject: [PATCH] powerpc: use generic posix_types.h fix Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/posix_types.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/include/asm/posix_types.h b/arch/powerpc/include/asm/posix_types.h index 1fbe027f..f139325 100644 --- a/arch/powerpc/include/asm/posix_types.h +++ b/arch/powerpc/include/asm/posix_types.h @@ -12,7 +12,7 @@ typedef unsigned long __kernel_old_dev_t; #define __kernel_old_dev_t __kernel_old_dev_t #else typedef unsigned int __kernel_size_t; -typedef int __kernel_size_t; +typedef int __kernel_ssize_t; typedef long __kernel_ptrdiff_t; #define __kernel_size_t __kernel_size_t