[PATCHv2] staging: wlan-ng: check return value of kmalloc

Dan Carpenter dan.carpenter at oracle.com
Wed May 13 14:48:06 UTC 2015


On Wed, May 13, 2015 at 02:35:25PM +0000, Gujulan Elango, Hari Prasath (H.) wrote:
> check return value of kmalloc before accessing the memory pointer and
> return -ENOMEM if allocation fails.
> 

Looks good.  Thanks!

regards,
dan carpenter



More information about the devel mailing list