From: Tom Rini <trini@kernel.crashing.org>
To: Meelis Roos <mroos@linux.ee>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] asm-ppc/elf.h warning
Date: Fri, 26 Mar 2004 10:43:38 -0700 [thread overview]
Message-ID: <20040326174338.GB17402@smtp.west.cox.net> (raw)
In-Reply-To: <Pine.GSO.4.44.0403261425250.2460-100000@math.ut.ee>
On Fri, Mar 26, 2004 at 07:33:55PM +0200, Meelis Roos wrote:
> Just got this from current 2.6 BK:
>
> CC arch/ppc/boot/simple/misc.o
> In file included from include/linux/elf.h:5,
> from arch/ppc/boot/simple/misc.c:20:
> include/asm/elf.h:102: warning: `struct task_struct' declared inside parameter list
> include/asm/elf.h:102: warning: its scope is only this definition or declaration, which is probably not what you want
>
> This can be cured by either including linux/sched.h or defining
> struct task_struct;
> (like this - maybe it should be more close to the headers)
Can you try just removing <linux/elf.h> from everything in
arch/ppc/boot/ ?
--
Tom Rini
http://gate.crashing.org/~trini/
next prev parent reply other threads:[~2004-03-26 17:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-26 17:33 Meelis Roos
2004-03-26 17:43 ` Tom Rini [this message]
2004-03-26 18:00 ` Meelis Roos
2004-03-26 18:19 ` Tom Rini
2004-03-26 21:40 ` Greg Weeks
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=20040326174338.GB17402@smtp.west.cox.net \
--to=trini@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mroos@linux.ee \
/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
all inboxes | Powered by JetHome®