Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161480AbXBOWOC (ORCPT ); Thu, 15 Feb 2007 17:14:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161478AbXBOWOC (ORCPT ); Thu, 15 Feb 2007 17:14:02 -0500 Received: from smtp.osdl.org ([65.172.181.24]:36622 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161466AbXBOWOA (ORCPT ); Thu, 15 Feb 2007 17:14:00 -0500 Date: Thu, 15 Feb 2007 14:13:37 -0800 From: Andrew Morton To: Geert Uytterhoeven Cc: Linus Torvalds , Linux Kernel Development Subject: Re: [PATCH] do_basic_setup: implicit declaration of function =?UTF-8?Q?=E2=80=98init=5Firq=5Fproc'?= Message-Id: <20070215141337.c3effca2.akpm@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.6; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 994 Lines: 29 On Thu, 15 Feb 2007 16:06:23 +0100 (CET) Geert Uytterhoeven wrote: > Add missing #include , which caused > > | init/main.c: In function ‘do_basic_setup’: > | init/main.c:705: warning: implicit declaration of function ‘init_irq_proc’ > > Signed-off-by: Geert Uytterhoeven > > diff --git a/init/main.c b/init/main.c > index 2421e15..8bba00e 100644 > --- a/init/main.c > +++ b/init/main.c > @@ -52,6 +52,7 @@ > #include > #include > #include > +#include > Russell will chuck a wobbly: `head -10 include/linux/irq.h' Probably the init_irq_proc() declaration is in the wrong header. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/