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

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to