Bug 9864

Summary: Compilation errors for sis190.c
Product: Drivers Reporter: Peter Teoh (htmldeveloper)
Component: NetworkAssignee: Jeff Garzik (jgarzik)
Status: CLOSED CODE_FIX    
Severity: normal CC: bunk
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.24-git Tree: Mainline
Regression: Yes
Bug Depends on:    
Bug Blocks: 9832    
Attachments: Compilation errors for sis190.c

Description Peter Teoh 2008-02-01 05:48:45 UTC
Latest working kernel version:
Earliest failing kernel version:
Distribution:
Hardware Environment:
Software Environment:
Problem Description:

drivers/net/tlan.c: In function ‘tlan_probe’:
drivers/net/tlan.c:486: warning: ignoring return value of ‘pci_register_driver’, declared with attribute warn_unused_result
  CC [M]  drivers/net/epic100.o
  CC [M]  drivers/net/sis190.o
drivers/net/sis190.c:329: error: sis190_pci_tbl causes a section type conflict
make[2]: *** [drivers/net/sis190.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Steps to reproduce:

Just did a "git clone" of linus tree at:

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Comment 1 Peter Teoh 2008-02-01 06:02:41 UTC
Created attachment 14674 [details]
Compilation errors for sis190.c

just compile with the attached .config in the latest kernel (2.6.24)
Comment 2 Adrian Bunk 2008-02-09 16:02:20 UTC
already fixed in Linus' tree