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
..
2013-02-21 15:27:22 -08:00
2013-02-27 19:10:15 -08:00
2013-02-27 19:10:15 -08:00
2013-03-08 08:36:01 +10:00
2013-03-01 13:39:00 -08:00
2013-02-21 12:11:44 -08:00
2013-03-05 17:22:08 -08:00
2013-02-28 20:00:40 -08:00
2013-02-27 19:10:17 -08:00
2013-02-21 15:38:49 -08:00
2013-02-27 19:10:18 -08:00
2013-02-26 09:34:29 -08:00
2013-02-27 19:10:18 -08:00
2013-02-28 09:37:12 +01:00
2013-02-21 15:27:22 -08:00
2013-02-27 19:10:19 -08:00
2013-02-27 19:10:19 -08:00
2013-02-28 19:59:34 -08:00
2013-02-22 23:31:31 -05:00
2013-02-21 13:57:13 -08:00