2.5.72: sbni.c doesn't compile with gcc 3.3

From: Adrian Bunk (bunk@fs.tum.de)
Date: Tue Jun 17 2003 - 15:49:12 EST

drivers/net/wan/sbni.c in 2.5.72 doesn't compile with gcc 3.3,
compilation with gcc 2.95 works.

The error message is:

<-- snip -->

  gcc -Wp,-MD,drivers/net/wan/.sbni.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
drivers/net/wan/sbni.o drivers/net/wan/sbni.c
drivers/net/wan/sbni.c: In function `sbni_pci_probe':
drivers/net/wan/sbni.c:280: warning: passing arg 1 of
`pci_request_region' makes pointer from integer without a cast
drivers/net/wan/sbni.c:283: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:116)
drivers/net/wan/sbni.c: In function `calc_crc32':
drivers/net/wan/sbni.c:1552: error: asm-specifier for variable `_crc'
conflicts with asm clobber list
make[3]: *** [drivers/net/wan/sbni.o] Error 1

<-- snip -->



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

This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:22 EST