From: Devendra Naga Date: Fri, 29 Mar 2013 23:03:22 +0000 (+0000) Subject: cdc_ncm: return -ENOMEM if kzalloc fails X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~258 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f0923c17d34ac838b7f57709f87fe33f76ee219;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed