git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4f0e4d
)
HID: hidraw: add proper error handling to raw event reporting
author
Jiri Kosina
<jkosina@suse.cz>
Thu, 26 Apr 2012 22:56:08 +0000
(
00:56
+0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Fri, 27 Apr 2012 18:10:09 +0000
(20:10 +0200)
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>
No differences found