Am Monday 23 October 2006 15:46 schrieben Sie: > On Mon, Oct 23, 2006 at 03:26:46PM +0200, Toralf Förster wrote: > > the build with the attached .config failed, make ends with: > > What tree are you building? In Linus' tree, advansys_pci_tbl is > declared as: > > static struct pci_device_id advansys_pci_tbl[] __devinitdata = { > > Seems like your tree has it defined as: > > static struct pci_device_id advansys_pci_tbl[5] __devinitdata = { I used the same config for the tree: tfoerste@n22 ~/devel/linux-2.6 $ cg-status Heads: >master 5cfc35cf79d46af998346e3d5cc66fa344d1af0e origin 5cfc35cf79d46af998346e3d5cc66fa344d1af0e having this: tfoerste@n22 ~/devel/linux-2.6 $ grep advansys_pci_tbl drivers/scsi/advansys.c static struct pci_device_id advansys_pci_tbl[] __devinitdata = { MODULE_DEVICE_TABLE(pci, advansys_pci_tbl); and got the same error: ... CC drivers/scsi/libiscsi.o CC drivers/scsi/iscsi_tcp.o CC drivers/scsi/advansys.o drivers/scsi/advansys.c:794:2: warning: #warning this driver is still not properly converted to the DMA API drivers/scsi/advansys.c: In function `advansys_detect': drivers/scsi/advansys.c:4406: warning: `check_region' is deprecated (declared at include/linux/ioport.h:133) drivers/scsi/advansys.c: In function `AscSearchIOPortAddr11': ... drivers/scsi/advansys.c:18231: warning: excess elements in struct initializer drivers/scsi/advansys.c:18231: warning: (near initialization for `advansys_pci_tbl[5]') drivers/scsi/advansys.c:18231: warning: excess elements in struct initializer drivers/scsi/advansys.c:18231: warning: (near initialization for `advansys_pci_tbl[5]') make[2]: *** [drivers/scsi/advansys.o] Error 1 make[1]: *** [drivers/scsi] Error 2 make: *** [drivers] Error 2 -- MfG/Sincerely Toralf Förster
Attachment:
pgpPNlt5tuAS7.pgp
Description: PGP signature