Re: [2.6 patch] drivers/net/sis190.c section fix

2007-12-14 Thread Jeff Garzik

Adrian Bunk wrote:

This patch fixes the following section mismatch with CONFIG_HOTPLUG=n:

--  snip  --

...
WARNING: vmlinux.o(.init.text.20+0x4cb25): Section mismatch: reference to 
.exit.text:sis190_mii_remove (between 'sis190_init_one' and 'read_eeprom')
...

--  snip  --

Signed-off-by: Adrian Bunk [EMAIL PROTECTED]

---
29fae057ba15a552a7cad1e731d3238d567032ba 
diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c

index 7200883..49f767b 100644
--- a/drivers/net/sis190.c
+++ b/drivers/net/sis190.c
@@ -1381,7 +1381,7 @@ out:
return rc;
 }
 
-static void __devexit sis190_mii_remove(struct net_device *dev)

+static void sis190_mii_remove(struct net_device *dev)
 {
struct sis190_private *tp = netdev_priv(dev);
 



applied #upstream-fixes


--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [2.6 patch] drivers/net/sis190.c section fix

2007-12-12 Thread Francois Romieu
Adrian Bunk [EMAIL PROTECTED] :
 This patch fixes the following section mismatch with CONFIG_HOTPLUG=n:
[...]
 WARNING: vmlinux.o(.init.text.20+0x4cb25): Section mismatch: reference to 
 .exit.text:sis190_mii_remove (between 'sis190_init_one' and 'read_eeprom')

Thanks. Applied at:

git://git.kernel.org/pub/scm/linux/kernel/git/romieu/netdev-2.6.git sis190

-- 
Ueimor
--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[2.6 patch] drivers/net/sis190.c section fix

2007-12-11 Thread Adrian Bunk
This patch fixes the following section mismatch with CONFIG_HOTPLUG=n:

--  snip  --

...
WARNING: vmlinux.o(.init.text.20+0x4cb25): Section mismatch: reference to 
.exit.text:sis190_mii_remove (between 'sis190_init_one' and 'read_eeprom')
...

--  snip  --

Signed-off-by: Adrian Bunk [EMAIL PROTECTED]

---
29fae057ba15a552a7cad1e731d3238d567032ba 
diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c
index 7200883..49f767b 100644
--- a/drivers/net/sis190.c
+++ b/drivers/net/sis190.c
@@ -1381,7 +1381,7 @@ out:
return rc;
 }
 
-static void __devexit sis190_mii_remove(struct net_device *dev)
+static void sis190_mii_remove(struct net_device *dev)
 {
struct sis190_private *tp = netdev_priv(dev);
 

--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html