[linux-usb-devel] drivers/usb/misc/cypress_cy7c63.c: NULL dereference

2006-08-14 Thread Adrian Bunk
The Coverity Checker spotted the following obvious NULL dereference: -- snip -- ... static int cypress_probe(struct usb_interface *interface, const struct usb_device_id *id) { ... if (dev == NULL) { dev_err(dev-udev-dev, Out of memory!\n);

Re: [linux-usb-devel] drivers/usb/misc/cypress_cy7c63.c: NULL dereference

2006-08-14 Thread Greg KH
On Tue, Aug 15, 2006 at 02:04:42AM +0200, Adrian Bunk wrote: The Coverity Checker spotted the following obvious NULL dereference: -- snip -- ... static int cypress_probe(struct usb_interface *interface, const struct usb_device_id *id) { ... if (dev ==