summaryrefslogtreecommitdiff
path: root/net/bluetooth/af_bluetooth.c
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2013-03-29 23:03:22 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-30 17:31:24 -0400
commit8f0923c17d34ac838b7f57709f87fe33f76ee219 (patch)
treebda5f77fefd354d5942e4f8be54778521e246e8b /net/bluetooth/af_bluetooth.c
parent537aadc3a4a0336e432c789c577b7efa0adf4af0 (diff)
downloadlinux-next-8f0923c17d34ac838b7f57709f87fe33f76ee219.tar.gz
cdc_ncm: return -ENOMEM if kzalloc fails
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>
Diffstat (limited to 'net/bluetooth/af_bluetooth.c')
0 files changed, 0 insertions, 0 deletions