WSL2-Linux-Kernel/drivers/input
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
..
gameport [PATCH] Add gameport bus_type probe and remove methods 2006-01-13 11:26:07 -08:00
joystick Input: iforce - fix detection of USB devices 2006-01-31 01:31:07 -05:00
keyboard [PARISC] Fix double free when removing HIL drivers 2006-03-30 17:48:59 +00:00
misc Input: kill remnants of 98kbd{,-io} and 98spkr 2006-02-15 00:49:48 -05:00
mouse [PARISC] Fix double free when removing HIL drivers 2006-03-30 17:48:59 +00:00
serio [PARISC] I/O-Space must be ioremap_nocache()'d 2006-03-30 17:48:42 +00:00
touchscreen [PATCH] ads7846: sparc32 warning fix 2006-03-26 08:56:57 -08:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
evbug.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
evdev.c [PATCH] ia64: task_pt_regs() 2006-01-12 09:08:58 -08:00
input.c [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
joydev.c [PATCH] INPUT: Create symlinks for backwards compatibility 2005-10-28 09:52:55 -07:00
mousedev.c Input: mousedev - fix memory leak 2006-01-29 21:50:59 -05:00
power.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tsdev.c [PATCH] INPUT: Create symlinks for backwards compatibility 2005-10-28 09:52:55 -07:00