]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: hidinput_hid_event() oops fix
authorPete Zaitcev <zaitcev@redhat.com>
Fri, 29 Jul 2005 19:18:34 +0000 (12:18 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 20:12:54 +0000 (13:12 -0700)
commitcf2f253779c29850d3ad16de1974a3a2625f667a
tree048526305102fb981c5a2940bab99e872d6f78a1
parent40152e6a9e1f8a33b0546b6105f5e0cb2738f093
[PATCH] USB: hidinput_hid_event() oops fix

It seems that I see a bug in hidinput_hid_event.  The check for NULL can never
work, becaue &hidinput->input is nonzero at all times.

Cc: <vojtech@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/input/hid-input.c