Mulyadi Santosa wrote:
> Hi...
> 
> Just trying to offer idea...
> On 2/1/08, Peter Teoh <[EMAIL PROTECTED]> wrote:
>> I was puzzled today, as several of machines all compiled the latest git
>> pulled kernel with the following errors:
>>
>>    CHK     include/linux/version.h
>>    CHK     include/linux/utsrelease.h
>>    CALL    scripts/checksyscalls.sh
>>    CHK     include/linux/compile.h
>>    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
> 
> sounds like symbol name's conflict? maybe it happens during linking
> stage..that is a spesific name is assigned to two ELF section. Just a
> raw guess...you've been warned.
> 
> try to grep inside the C file...did you see something that defines a
> section there?
> 

Please try this patch which I just posted to LKML:

---
 drivers/net/sis190.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c
index b570402..e48e4ad 100644
--- a/drivers/net/sis190.c
+++ b/drivers/net/sis190.c
@@ -326,7 +326,7 @@ static const struct {
        { "SiS 191 PCI Gigabit Ethernet adapter" },
 };
 
-static struct pci_device_id sis190_pci_tbl[] __devinitdata = {
+static const struct pci_device_id sis190_pci_tbl[] __devinitdata = {
        { PCI_DEVICE(PCI_VENDOR_ID_SI, 0x0190), 0, 0, 0 },
        { PCI_DEVICE(PCI_VENDOR_ID_SI, 0x0191), 0, 0, 1 },
        { 0, },
-- 1.5.4.rc3 


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to