Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information