Bug 9864 - Compilation errors for sis190.c
Summary: Compilation errors for sis190.c
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jeff Garzik
URL:
Keywords:
Depends on:
Blocks: 9832
  Show dependency tree
 
Reported: 2008-02-01 05:48 UTC by Peter Teoh
Modified: 2008-02-09 16:02 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.24-git
Tree: Mainline
Regression: Yes


Attachments
Compilation errors for sis190.c (81.09 KB, application/octet-stream)
2008-02-01 06:02 UTC, Peter Teoh
Details

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

Note You need to log in before you can comment on or make changes to this bug.