Messages in this thread | | | Date | Tue, 21 Jul 2009 12:20:58 -0700 (PDT) | Subject | Re: [PATCH] move macsonic's probe function to .devinit.text | From | David Miller <> |
| |
From: Finn Thain <fthain@telegraphics.com.au> Date: Wed, 22 Jul 2009 01:14:36 +1000 (EST)
> > > On Sat, 11 Jul 2009, Uwe Kleine-K?nig wrote: > >> A pointer to mac_sonic_probe is passed to the core via >> platform_driver_register and so the function must not disappear when >> the .init sections are discarded. Otherwise (if also having >> HOTPLUG=y) unbinding and binding a device to the driver via sysfs will >> result in an oops as does a device being registered late. > > This patch works for me (tested on a Quadra 630). I still get an oops > on rmmod, but that's a separate issue. I'll send a patch for that.
Applied, but Uwe _please_ post networking patches to netdev@vger.kernel.org so that they get properly logged and tracked at:
http://patchwork.ozlabs.org/project/netdev/list/
Thank you.
| |