423d52b6c1dffa5 parent d4f0e4daf0d867f80c78ca4f9ac03a562e229e72 author Jiri Kosina 1335480968 +0200 committer Jiri Kosina 1335550209 +0200 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 Signed-off-by: Jiri Kosina