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:
86c948b
)
staging/ft1000: Return -ENOMEM if kmalloc fails at ft1000_probe
author
Devendra Naga
<devendra.aaru@gmail.com>
Tue, 19 Jun 2012 12:45:25 +0000
(18:15 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 20 Jun 2012 23:07:07 +0000
(16:07 -0700)
If the kmalloc fails return -ENOMEM , returning 0 is not the proper
way if any function fails
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found