On 03/16/2015 11:42 PM, Colin King wrote: > From: Colin Ian King <[email protected]> > > smatch detected the following issue: > drivers/net/can/usb/gs_usb.c:904 gs_usb_probe() error: > potential null dereference 'dev'. (kzalloc returns null) > > Add a check for null return from kzalloc and return -ENOMEM > > Signed-off-by: Colin Ian King <[email protected]>
Thanks, applied to can. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature

