Re: [v2] libertas: check for NULL before use

From: Kalle Valo
Date: Thu Nov 26 2015 - 08:05:46 EST



> If kzalloc fails it will return NULL. Lets check for NULL first before
> using the pointer.
>
> Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/