linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] drivers/net/sis190.c section fix
@ 2007-12-11 22:23 Adrian Bunk
  2007-12-12 22:56 ` Francois Romieu
  2007-12-14 20:27 ` Jeff Garzik
  0 siblings, 2 replies; 3+ messages in thread
From: Adrian Bunk @ 2007-12-11 22:23 UTC (permalink / raw)
  To: romieu, jgarzik; +Cc: netdev, linux-kernel

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 <bunk@kernel.org>

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] drivers/net/sis190.c section fix
  2007-12-11 22:23 [2.6 patch] drivers/net/sis190.c section fix Adrian Bunk
@ 2007-12-12 22:56 ` Francois Romieu
  2007-12-14 20:27 ` Jeff Garzik
  1 sibling, 0 replies; 3+ messages in thread
From: Francois Romieu @ 2007-12-12 22:56 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: jgarzik, netdev, linux-kernel

Adrian Bunk <bunk@kernel.org> :
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] drivers/net/sis190.c section fix
  2007-12-11 22:23 [2.6 patch] drivers/net/sis190.c section fix Adrian Bunk
  2007-12-12 22:56 ` Francois Romieu
@ 2007-12-14 20:27 ` Jeff Garzik
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2007-12-14 20:27 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: romieu, netdev, linux-kernel

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 <bunk@kernel.org>
> 
> ---
> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-14 20:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-11 22:23 [2.6 patch] drivers/net/sis190.c section fix Adrian Bunk
2007-12-12 22:56 ` Francois Romieu
2007-12-14 20:27 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).