aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-11-30 11:12:58 +0100
committerJiri Kosina <jkosina@suse.cz>2008-01-28 14:51:22 +0100
commitc4124c9b68bf8ecf1e8afedad3a22e18666cb6f3 (patch)
treee94678db134f72037fa61ddf412bdeb98bf88de7 /include
parentHID: force hiddev creation for SONY PS3 controller (diff)
downloadlinux-dev-c4124c9b68bf8ecf1e8afedad3a22e18666cb6f3.tar.xz
linux-dev-c4124c9b68bf8ecf1e8afedad3a22e18666cb6f3.zip
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 '')
0 files changed, 0 insertions, 0 deletions