Kyle McMartin cd7a9202a5 [PARISC] Fix double free when removing HIL drivers
On Thu, Mar 30, 2006 at 08:31:02AM -0500, Dmitry Torokhov wrote:
> Don't do that, its double free. input_unregister_device() normally
> causes release() to be called and free the device. input_free_device
> is only to be called when input_register_device has not been called or
> failed.
>
> Plus you might want to unregister device after closing serio port,
> otherwise your interrupt routine might be referencing already freed
> memory.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
2006-03-30 17:48:59 +00:00
..
2006-03-26 08:57:09 -08:00
2006-03-25 08:22:52 -08:00
2006-03-28 09:16:08 -08:00
2006-03-24 07:33:24 -08:00
2006-03-27 08:44:51 -08:00
2006-03-29 13:24:50 +11:00
2006-03-29 13:24:50 +11:00
2005-10-30 17:37:32 -08:00
2006-03-29 13:24:50 +11:00
2006-03-25 08:22:52 -08:00
2006-03-29 17:34:02 -05:00
2006-03-27 08:44:52 -08:00
2006-03-23 07:38:16 -08:00
2006-03-24 18:23:14 +01:00