summaryrefslogtreecommitdiff
path: root/drivers/hid/usbhid
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-11-30 13:12:58 +0300
committerJiri Kosina <jkosina@suse.cz>2008-01-28 16:51:22 +0300
commitc4124c9b68bf8ecf1e8afedad3a22e18666cb6f3 (patch)
treee94678db134f72037fa61ddf412bdeb98bf88de7 /drivers/hid/usbhid
parent0887b4cb2102e281c123abf1408f218c15fd3ba3 (diff)
downloadlinux-c4124c9b68bf8ecf1e8afedad3a22e18666cb6f3.tar.xz
HID: remove redundant WARN_ON()s in order not to scare users
The WARN_ON() in implement() and extract() spit out stacktraces and a lot of other information that might make users think that there is something seriously wrong with the system. WARN_ON() should not be deliberately triggerable by userspace application, which these can be. Usually this WARN_ON() triggers when hid2hci utility is sending the data that don't correspond to the device's report descriptor. Convert these messages to more friendly printk(). Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/usbhid')
0 files changed, 0 insertions, 0 deletions