diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-11-30 11:12:58 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2008-01-28 14:51:22 +0100 |
commit | c4124c9b68bf8ecf1e8afedad3a22e18666cb6f3 (patch) | |
tree | e94678db134f72037fa61ddf412bdeb98bf88de7 /include/linux/keyboard.h | |
parent | 0887b4cb2102e281c123abf1408f218c15fd3ba3 (diff) |
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 'include/linux/keyboard.h')
0 files changed, 0 insertions, 0 deletions