mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 03:11:46 +00:00
a1645eefc8
A failed kzalloc() is reported with a dev_err that dereferences the null sisusb, this will cause a NULL pointer deference error. Instead, pass dev->dev to the dev_err() rather than &sisusb->sisusb_dev->dev Smatch analysis: drivers/usb/misc/sisusbvga/sisusb.c:3087 sisusb_probe() error: potential null dereference 'sisusb'. (kzalloc returns null) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
sisusb_con.c | ||
sisusb_init.c | ||
sisusb_init.h | ||
sisusb_struct.h | ||
sisusb.c | ||
sisusb.h |