From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757596Ab3BFRwN (ORCPT ); Wed, 6 Feb 2013 12:52:13 -0500 Received: from mail-da0-f43.google.com ([209.85.210.43]:43809 "EHLO mail-da0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753825Ab3BFRwI (ORCPT ); Wed, 6 Feb 2013 12:52:08 -0500 Date: Wed, 6 Feb 2013 09:52:05 -0800 From: Greg Kroah-Hartman To: Stephen Rothwell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" Subject: Re: linux-next: build failure after merge of the final tree Message-ID: <20130206175205.GC1292@kroah.com> References: <20130206183040.ea07a2cd64200b6d37868036@canb.auug.org.au> <20130206184243.c858634f5d8c3ce4ffac71f3@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130206184243.c858634f5d8c3ce4ffac71f3@canb.auug.org.au> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 06, 2013 at 06:42:43PM +1100, Stephen Rothwell wrote: > Hi all, > > On Wed, 6 Feb 2013 18:30:40 +1100 Stephen Rothwell wrote: > > > > After merging the final tree, today's linux-next build (sparc defconfig) > > failed like this: > > > > arch/sparc/kernel/kgdb_32.c: In function 'sleeping_thread_to_gdb_regs': > > arch/sparc/kernel/kgdb_32.c:46:9: error: implicit declaration of function 'task_thread_info' [-Werror=implicit-function-declaration] > > arch/sparc/kernel/kgdb_32.c:46:26: error: initialization makes pointer from integer without a cast [-Werror] > > > > I can only imagine that the implicit include of linux/sched.h got removed > > in one of our include file changes. :-( > > > > I have added this patch for today: > > > > From: Stephen Rothwell > > Date: Wed, 6 Feb 2013 18:26:51 +1100 > > Subject: [PATCH] sparc: explicitly include sched.h to get task_thread_info declaration > > > > Signed-off-by: Stephen Rothwell > > --- > > arch/sparc/kernel/kgdb_32.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/arch/sparc/kernel/kgdb_32.c b/arch/sparc/kernel/kgdb_32.c > > index 2e424a5..dcf2108 100644 > > --- a/arch/sparc/kernel/kgdb_32.c > > +++ b/arch/sparc/kernel/kgdb_32.c > > @@ -5,6 +5,7 @@ > > > > #include > > #include > > +#include > > > > #include > > #include > > This was probably caused by commit 16559ae48c76 ("kgdb: remove #include > from kgdb.h") from the tty tree. > > Removing includes from include files is always fraught with this sort of > danger :-( Yes it is, and I caught a bunch of crazy dependancies when I fixed this up, but now the build should be so much easier for those of us working on the serial code, the whole tree will now not have to rebuild for no reason at all. Sorry for missing this one, the fix looks correct to me, I'll queue it up in my tree, or it can go through David's. thanks, greg k-h