Bug 285

Summary: Compine failure on drivers/message/i2o/i2o_lan.c
Product: Drivers Reporter: Jayce Dowell (jdowell)
Component: I2OAssignee: Alan (alan)
Status: REJECTED WILL_NOT_FIX    
Severity: normal CC: john
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.5.59 Subsystem:
Regression: --- Bisected commit-id:
Attachments: 2.5.59 .config file
Patch to remove the list and sync errors

Description Jayce Dowell 2003-01-17 19:15:06 UTC
Distribution: Mandrake 9.0
Hardware Environment: Athlon-XP
Software Environment: gcc-3.2
Problem Description: Compile failure on drivers/message/i2o/i2o_lan.c

     gcc -Wp,-MD,drivers/message/i2o/.i2o_lan.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default
-fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE  
-DKBUILD_BASENAME=i2o_lan -DKBUILD_MODNAME=i2o_lan   -c -o
drivers/message/i2o/i2o_lan.o drivers/message/i2o/i2o_lan.c
drivers/message/i2o/i2o_lan.c:28:2: #error Please convert me to
Documentation/DMA-mapping.txt
drivers/message/i2o/i2o_lan.c:120: parse error before "struct"
drivers/message/i2o/i2o_lan.c: In function `i2o_lan_receive_post_reply':
drivers/message/i2o/i2o_lan.c:385: `run_i2o_post_buckets_task' undeclared (first
use in this function)
drivers/message/i2o/i2o_lan.c:385: (Each undeclared identifier is reported only once
drivers/message/i2o/i2o_lan.c:385: for each function it appears in.)
drivers/message/i2o/i2o_lan.c: In function `i2o_lan_open':
drivers/message/i2o/i2o_lan.c:745: warning: `_MOD_INC_USE_COUNT' is deprecated
(declared at include/linux/module.h:429)
drivers/message/i2o/i2o_lan.c:749: warning: `__MOD_DEC_USE_COUNT' is deprecated
(declared at include/linux/module.h:404)
drivers/message/i2o/i2o_lan.c:766: warning: `__MOD_DEC_USE_COUNT' is deprecated
(declared at include/linux/module.h:404)
drivers/message/i2o/i2o_lan.c:776: warning: `__MOD_DEC_USE_COUNT' is deprecated
(declared at include/linux/module.h:404)
drivers/message/i2o/i2o_lan.c: In function `i2o_lan_close':
drivers/message/i2o/i2o_lan.c:819: warning: `__MOD_DEC_USE_COUNT' is deprecated
(declared at include/linux/module.h:404)
drivers/message/i2o/i2o_lan.c: In function `i2o_lan_batch_send':
drivers/message/i2o/i2o_lan.c:851: warning: `__MOD_DEC_USE_COUNT' is deprecated
(declared at include/linux/module.h:404)
drivers/message/i2o/i2o_lan.c: In function `i2o_lan_sdu_send':
drivers/message/i2o/i2o_lan.c:906: warning: `_MOD_INC_USE_COUNT' is deprecated
(declared at include/linux/module.h:429)
drivers/message/i2o/i2o_lan.c:908: warning: `__MOD_DEC_USE_COUNT' is deprecated
(declared at include/linux/module.h:404)
drivers/message/i2o/i2o_lan.c: In function `i2o_lan_packet_send':
drivers/message/i2o/i2o_lan.c:994: warning: `_MOD_INC_USE_COUNT' is deprecated
(declared at include/linux/module.h:429)
drivers/message/i2o/i2o_lan.c:996: warning: `__MOD_DEC_USE_COUNT' is deprecated
(declared at include/linux/module.h:404)
drivers/message/i2o/i2o_lan.c: In function `i2o_lan_register_device':
drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list'
drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list'
drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list'
drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list'
drivers/message/i2o/i2o_lan.c:1407: structure has no member named `sync'
make[3]: *** [drivers/message/i2o/i2o_lan.o] Error 1
make[2]: *** [drivers/message/i2o] Error 2
make[1]: *** [drivers/message] Error 2
make: *** [drivers] Error 2

Steps to reproduce: make dep && make bzImage && make modules
                    .config file attached
Comment 1 Jayce Dowell 2003-01-17 19:15:46 UTC
Created attachment 75 [details]
2.5.59 .config file
Comment 2 Randy Dunlap 2003-01-20 08:38:15 UTC
*** Bug 198 has been marked as a duplicate of this bug. ***
Comment 3 Frank Davis 2003-01-26 15:44:03 UTC
Created attachment 87 [details]
Patch to remove the list and sync errors

This patch removes the INIT_LIST_HEAD statment, since its been moved from
tq_struct to work_struct, thus making INIT_LIST_HEAD not needed. Please review.
Comment 4 John Kim 2003-02-14 19:23:27 UTC
This I2O LAN been removed in 2.5.61 and therefore the compile breakage has been
"fixed".

http://linux.bkbits.net:8080/linux-2.5/cset@1.1060.1.5?nav=index.html|ChangeSet@-1d

Comment 5 Alan 2003-03-06 12:07:19 UTC
i2o_lan has been deleted. There is no hardware using it