From: Andrew Morton <akpm@linux-foundation.org>
To: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] do_basic_setup: implicit declaration of function ‘init_irq_proc'
Date: Thu, 15 Feb 2007 14:13:37 -0800 [thread overview]
Message-ID: <20070215141337.c3effca2.akpm@linux-foundation.org> (raw)
In-Reply-To: <Pine.LNX.4.62.0702151604230.13011@pademelon.sonytel.be>
On Thu, 15 Feb 2007 16:06:23 +0100 (CET)
Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> wrote:
> Add missing #include <linux/irq.h>, 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 <Geert.Uytterhoeven@sonycom.com>
>
> 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 <linux/lockdep.h>
> #include <linux/pid_namespace.h>
> #include <linux/device.h>
> +#include <linux/irq.h>
>
Russell will chuck a wobbly: `head -10 include/linux/irq.h'
Probably the init_irq_proc() declaration is in the wrong header.
prev parent reply other threads:[~2007-02-15 22:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-15 15:06 [PATCH] do_basic_setup: implicit declaration of function ‘init_irq_proc' Geert Uytterhoeven
2007-02-15 22:13 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070215141337.c3effca2.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=Geert.Uytterhoeven@sonycom.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox