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

Dan Carpenter dan.carpenter at oracle.com
Mon Nov 6 07:28:11 UTC 2017

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.

dan carpenter

More information about the devel mailing list