On 03/16/2015 11:42 PM, Colin King wrote:
> From: Colin Ian King
>
> 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
>
> S
From: Colin Ian King
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
---
drivers/net/can/usb/gs_us
2 matches
Mail list logo