android_kernel_xiaomi_sm8350/drivers/input/gameport
Alexander Nyberg 22d0def9d0 [PATCH] ns558 list handling fix
Need to use list_for_entry_safe(), as we're removing items during the
traversal.  list_for_each_entry() uses the first ptr also as an iterator, if
you kfree() it slab takes it, might poison it and then you try to use it to
iterate to the next object in list.

Cc: Vojtech Pavlik <vojtech@suse.cz>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-10 11:03:02 -07:00
..
emu10k1-gp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fm801-gp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gameport.c [PATCH] x86: i8253/i8259A lock cleanup 2005-06-30 08:45:10 -07:00
Kconfig Input: Kill Aureal Vortex 1/2 gameport driver. ALSA Aureal driver 2005-05-29 02:25:43 -05:00
lightning.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Input: Kill Aureal Vortex 1/2 gameport driver. ALSA Aureal driver 2005-05-29 02:25:43 -05:00
ns558.c [PATCH] ns558 list handling fix 2005-08-10 11:03:02 -07:00