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

2006-08-16 Thread Oliver Bock
Thanks guys! Sorry for that blunder... Oliver On Tuesday 15 August 2006 02:57, Greg KH wrote: > 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(str

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) > { > ... >

[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");