commit | b6787242f32700377d3da3b8d788ab3928bab849 | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Fri Apr 27 00:56:08 2012 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Fri Apr 27 20:10:09 2012 +0200 |
tree | 54428bcff5865df64980d0af4423d52b6c1dffa5 | |
parent | d4f0e4daf0d867f80c78ca4f9ac03a562e229e72 [diff] |
HID: hidraw: add proper error handling to raw event reporting If kmemdup() in hidraw_report_event() fails, we are not propagating this fact properly. Let hidraw_report_event() and hid_report_raw_event() return an error value to the caller. Reported-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>