Re: [PATCH] staging: vt6655: check returned value from kzalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 05, 2017 at 06:19:41PM +0100, Pierre-Yves Kerbrat wrote:
> Return value from kzalloc was not checked in
> device_init_td*_ring before using it.
> 

Nah...  It will still crash but just later so this change doesn't add
anything and just makes it harder for other people to see that the code
is buggy.

regards,
dan carpenter

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



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux