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:
537aadc
)
cdc_ncm: return -ENOMEM if kzalloc fails
author
Devendra Naga
<devendra.aaru@gmail.com>
Fri, 29 Mar 2013 23:03:22 +0000
(23:03 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 30 Mar 2013 21:31:24 +0000
(17:31 -0400)
return -ENOMEM instead if kzalloc of cdc_ncm_ctx structure is failed.
and also remove the comparision of ctx structure with NULL and make
it as !ctx.
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found