fix warning in arch/ppc/boot/simple/misc.c
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · On Wed, Apr 28, 2004 at 03:14:38PM +0000, [email protected] wrote:
ChangeSet 1.1596.2.5, 2004/04/28 08:14:38-07:00, [email protected]
[PATCH] fix warning in
arch/ppc/boot/simple/misc.cFrom: Christoph Hellwig <[email protected]>
Quoted 7 lines
asm-ppc/elf.huses a pointer to structtask_structwithout any forward-declaration.In file included from
include/linux/elf.h:5,
fromarch/ppc/boot/simple/misc.c:20:
include/asm/elf.h:102: warning: `structtask_struct' declared inside parameter listinclude/asm/elf.h:102: warning: its scope is only this definition or declaration, which is probably not what you want
This patch is redundant. The correct fix, which got into -rc3, is to drop <linux/elf.h> from the file in question.
Signature · 2 lines
Tom Rini http://gate.crashing.org/~trini/