android_kernel_xiaomi_sm8350/drivers/input/keyboard
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
..
amikbd.c [PATCH] amikbd fix 2005-10-29 10:35:07 -07:00
atkbd.c Input: atkbd - don't lose keymap settings when reconnecting keyboard 2006-01-05 23:00:13 -05:00
corgikbd.c [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
hil_kbd.c [PARISC] Fix double free when removing HIL drivers 2006-03-30 17:48:59 +00:00
hilkbd.c [PARISC] Fix double free when removing HIL drivers 2006-03-30 17:48:59 +00:00
hpps2atkbd.h
Kconfig Input: remove obsolete maple input drivers 2006-01-10 02:00:27 -05:00
lkkbd.c Input: lkkbd - miscellaneous fixes 2005-11-02 22:53:11 -05:00
locomokbd.c Input: locomokbd - fix wrong bustype 2005-11-02 22:52:33 -05:00
Makefile Input: kill remnants of 98kbd{,-io} and 98spkr 2006-02-15 00:49:48 -05:00
maple_keyb.c [PATCH] drivers/input/keyboard: convert to dynamic input_dev allocation 2005-10-28 09:52:52 -07:00
newtonkbd.c [PATCH] drivers/input/keyboard: convert to dynamic input_dev allocation 2005-10-28 09:52:52 -07:00
spitzkbd.c [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
sunkbd.c [PATCH] drivers/input/keyboard: convert to dynamic input_dev allocation 2005-10-28 09:52:52 -07:00
xtkbd.c [PATCH] drivers/input/keyboard: convert to dynamic input_dev allocation 2005-10-28 09:52:52 -07:00