Colin Ian King a1645eefc8 usb: misc: sisusbvga: Avoid NULL pointer dereference from sisusb
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>
2013-03-15 11:51:01 -07:00
..
2012-04-20 16:53:37 -07:00
2012-10-29 09:04:39 -07:00
2012-05-01 21:33:58 -07:00
2012-04-20 16:53:47 -07:00
2012-05-01 21:34:03 -07:00
2012-01-24 12:08:36 -08:00
2012-05-01 21:34:07 -07:00
2012-05-01 21:34:11 -07:00