2.5.60: sim710.c doesn't compile

Adrian Bunk (bunk@fs.tum.de)
Tue, 11 Feb 2003 19:16:00 +0100


On Mon, Feb 10, 2003 at 11:08:28AM -0800, Linus Torvalds wrote:
>...
> Summary of changes from v2.5.59 to v2.5.60
> ============================================
>...
> James Bottomley <james.bottomley@steeleye.com>:
>...
> o [SCSI] Migrate sim710 to 53c700 chip driver
>...

This change broke the compilation of sim710.c:

<-- snip -->

...
gcc -Wp,-MD,drivers/scsi/.sim710.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=sim710 -DKBUILD_MODNAME=sim710 -c -o
drivers/scsi/sim710.o drivers/scsi/sim710.c
drivers/scsi/sim710.c:329: `sim710_device_remove' undeclared here (not in a function)
drivers/scsi/sim710.c:329: initializer element is not constant
drivers/scsi/sim710.c:329: (near initialization for `sim710_eisa_driver.driver.remove')
drivers/scsi/sim710.c:330: initializer element is not constant
drivers/scsi/sim710.c:330: (near initialization for `sim710_eisa_driver.driver')
make[2]: *** [drivers/scsi/sim710.o] Error 1

<-- snip -->

This is the only occurence of sim710_device_remove in the whole kernel
tree.

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/