Re: Linux 2.5.59

Adrian Bunk (bunk@fs.tum.de)
Fri, 17 Jan 2003 10:59:21 +0100


On Thu, Jan 16, 2003 at 06:28:03PM -0800, Linus Torvalds wrote:

>...
> Summary of changes from v2.5.58 to v2.5.59
> ============================================
>...
> Marc Zyngier <mzyngier@freesurf.fr>:
>...
> o EISA sysfs updates to 3c509 and 3c59x drivers
>...

This change browke the compilation of 3c509 with CONFIG_PM:

<-- snip -->

...
gcc -Wp,-MD,drivers/net/.3c509.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
-DKBUILD_BASENAME=3c509 -DKBUILD_MODNAME=3c509 -c -o
drivers/net/3c509.o drivers/net/3c509.c
drivers/net/3c509.c: In function `el3_common_init':
drivers/net/3c509.c:324: `card_idx' undeclared (first use in this function)
drivers/net/3c509.c:324: (Each undeclared identifier is reported only once
drivers/net/3c509.c:324: for each function it appears in.)
drivers/net/3c509.c: In function `el3_probe':
drivers/net/3c509.c:360: warning: `dev' might be used uninitialized in this function
drivers/net/3c509.c: At top level:
drivers/net/3c509.c:268: warning: `nopnp' defined but not used
make[2]: *** [drivers/net/3c509.o] Error 1

<-- snip -->

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

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