On Wed, Oct 13, 2004 at 07:21:54AM +1000, Herbert Xu wrote:
> On Mon, Oct 11, 2004 at 02:21:47PM -0300, Marcelo Tosatti wrote:
> > On Tue, Oct 05, 2004 at 10:49:14PM +1000, Herbert Xu wrote:
> > > 
> > > There is a long-standing devfs_unregister oops in hid/hiddev.  It's
> > > caused by hid calling hiddev_exit before unregistering itself which
> > > in turn calls hiddev_disconnect.
> > > 
> > > hiddev_exit removes the directory which contains the hiddev devices.
> > > Therefore it needs to be called after the hiddev devices have been
> > > disconnected.
> > > 
> > > This patch fixes that.
> > > 
> > > Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
> > > 
> > > Marcelo, the same fix is needed in 2.4 as well.
> > 
> > Would be nice to have a version which applies to 2.4 also.
> 
> I did include a 2.4 patch in that email :)
> 
> Here it is again.

Applied, thanks.

> -- 
> Visit Openswan at http://www.openswan.org/
> Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

> ===== drivers/usb/hid-core.c 1.30 vs edited =====
> --- 1.30/drivers/usb/hid-core.c       2004-08-08 18:59:53 +10:00
> +++ edited/drivers/usb/hid-core.c     2004-10-05 22:33:52 +10:00
> @@ -1459,8 +1459,8 @@
>  
>  static void __exit hid_exit(void)
>  {
> -     hiddev_exit();
>       usb_deregister(&hid_driver);
> +     hiddev_exit();
>  }
>  
>  module_init(hid_init);



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to