lkml.org 
[lkml]   [2004]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fix warning in arch/ppc/boot/simple/misc.c
On Wed, Apr 28, 2004 at 03:14:38PM +0000, akpm@osdl.org wrote:

> ChangeSet 1.1596.2.5, 2004/04/28 08:14:38-07:00, akpm@osdl.org
>
> [PATCH] fix warning in arch/ppc/boot/simple/misc.c
>
> From: Christoph Hellwig <hch@lst.de>
>
> 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.

--
Tom Rini
http://gate.crashing.org/~trini/
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.105 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site