Re: [HID] Fix hiddev devfs oops

From: Marcelo Tosatti
Date: Tue Oct 12 2004 - 09:31:07 EST


On Tue, Oct 05, 2004 at 10:49:14PM +1000, Herbert Xu wrote:
> Hi:
>
> 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 <herbert@xxxxxxxxxxxxxxxxxxx>
>
> Marcelo, the same fix is needed in 2.4 as well.

Herbert,

Would be nice to have a version which applies to 2.4 also.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/