[patch 5/5] arch/powerpc/platforms/pseries/eeh_driver.c: fix warning

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Jun 10 09:47:02 EST 2008


On Mon, 2008-06-09 at 16:26 -0700, akpm at linux-foundation.org wrote:
> From: Andrew Morton <akpm at linux-foundation.org>
> 
> Fix this:
> 
> /usr/src/devel/arch/powerpc/platforms/pseries/eeh_driver.c: In function 'print_device_node_tree':
> /usr/src/devel/arch/powerpc/platforms/pseries/eeh_driver.c:55: warning: ISO C90 forbids mixed declarations and code
> 
> also make that function look like it's part of Linux.  I mean, wtf are you
> guys up to down there??

The EEH code ... oh well. It does need some love...

> [akpm at linux-foundation.org: coding-style fixes]

Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

> Cc: Paul Mackerras <paulus at samba.org>
> Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
> ---






More information about the Linuxppc-dev mailing list