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:
832fbea
)
HID: Fix return values in open_collection()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 17 Sep 2012 11:11:56 +0000
(16:41 +0530)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 17 Sep 2012 11:15:55 +0000
(13:15 +0200)
Return -ENOMEM instead of -1 if memory allocation fails.
Return -EINVAL instead of -1 for stack overflow and
underflow errors.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
No differences found