Skip to contentSkip to conversation

drivers/net/sis190.c section fix

PATCH In review Adrian Bunk 3 participants 3 messages Dec 11, 2007 – Dec 14, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net/sis190.c section fix

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 -->

---
29fae057ba15a552a7cad1e731d3238d567032ba

drivers/net/sis190.c +1 -1
index 7200883..49f767b 100644
@@ -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);
 
#1 lore raw

Adrian Bunk <[email protected]> :

Quoted 1 line

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

[...]

Quoted 1 line

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

Signature · 1 line
Ueimor
#2 lore raw
In reply to Adrian Bunk
Quoted 19 lines · 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 -->

---
29fae057ba15a552a7cad1e731d3238d567032ba diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c index 7200883..49f767b 100644

drivers/net/sis190.c out: · line 1387

Quoted 8 lines
drivers/net/sis190.c +1 -1
@@ -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