2.5.66: 3w-(censored).c doesn's compile
Quoted 8 lines · Linus Torvalds
...
Summary of changes from v2.5.65 to v2.5.66
============================================
...
Alan Cox <[email protected]>:
...
o clean up the mess someone merged into 3wxxx scsi
...
This change broke the compilation:
<-- snip -->
...
gcc -Wp,-MD,drivers/scsi/.3w-xxxx.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=3w_xxxx -DKBUILD_MODNAME=3w_xxxx -c -odrivers/scsi/3w-xxxx.o drivers/scsi/3w-xxxx.cdrivers/scsi/3w-xxxx.c: In function `tw_chrdev_ioctl':drivers/scsi/3w-xxxx.c:680: request for member magic' in something not a structure or union drivers/scsi/3w-xxxx.c:680: request for member lock' in something not a structure or union drivers/scsi/3w-xxxx.c:680: request for member babble' in something not a structure or union drivers/scsi/3w-xxxx.c:680: request for member module' in something not a structure or union drivers/scsi/3w-xxxx.c:680: request for member owner' in something not a structure or union drivers/scsi/3w-xxxx.c:680: request for member oline' in something not a structure or union drivers/scsi/3w-xxxx.c:680: request for member babble' in something not a structure or union drivers/scsi/3w-xxxx.c:680: request for member lock' in something not a structure or union drivers/scsi/3w-xxxx.c:680: request for member owner' in something not a structure or union drivers/scsi/3w-xxxx.c:680: request for member oline' in something not a structure or union make[2]: *** [drivers/scsi/3w-xxxx.o] Error 1
<-- snip -->
It seems something like the following was intended?
drivers/scsi/3w-xxxx.c renamed from drivers/scsi/3w-xxxx.c.old +1 -1
@@ -677,7 +677,7 @@dprintk (KERN_WARNING "3w-xxxx: tw_chrdev_ioctl(): caught TW_AEN_LISTEN.\n" );memset (tw_ioctl->data_buffer,0 , tw_ioctl->data_buffer_length); -spin_lock_irqsave (&tw_dev->host->host_lock, flags); +spin_lock_irqsave (&tw_dev->tw_lock, flags);if (tw_dev->aen_head == tw_dev->aen_tail) { tw_aen_code =TW_AEN_QUEUE_EMPTY ; }else {
cu
Adrian
Signature · 4 lines
"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