Skip to contentSkip to conversation

fix warning in arch/ppc/boot/simple/misc.c

PATCH Tom Rini 1 participant 1 message Apr 28, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Tom Rini

author
#1 lore raw
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.c

From: Christoph Hellwig <[email protected]>

Quoted 7 lines

asm-ppc/elf.h uses a pointer to struct task_struct without any forward-declaration.

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 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/