]> git.karo-electronics.de Git - karo-tx-linux.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)
commita9b2e9170bdf1dd27ca4aa9a63048065d252d116
tree048526305102fb981c5a2940bab99e872d6f78a1
parent498f78e6fcf558d0dec31f5648f43426ae16433f
[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