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:
efc273c
)
staging: rtl8712: return -ENOMEM instead of -1
author
Vitaly Osipov
<vitaly.osipov@gmail.com>
Tue, 27 May 2014 12:27:37 +0000
(22:27 +1000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 27 May 2014 18:55:29 +0000
(11:55 -0700)
After the commit 91d435f replaced _malloc with kmalloc, smatch picked up a
couple of new warnings. This fixes the warning:
warn: returning -1 instead of -ENOMEM is sloppy
Signed-off-by: Vitaly Osipov <vitaly.osipov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found