diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-14 17:32:51 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-26 13:06:11 -0700 |
commit | b93b58eea81beacac55770dd39e34fbffdc36000 (patch) | |
tree | 39cdedf90344a07ca815692f0c0d1b9316850dd8 /drivers | |
parent | 39ba487fe22a63b3df7c543c82d01db0f0fed700 (diff) | |
download | op-kernel-dev-b93b58eea81beacac55770dd39e34fbffdc36000.zip op-kernel-dev-b93b58eea81beacac55770dd39e34fbffdc36000.tar.gz |
[PATCH] USB: fix bug in cypress_cy7c63.c driver
This was pointed out by Adrian Bunk <bunk@stusta.de>, as found by the Coverity Checker.
Cc: Adrian Bunk <bunk@stusta.de>
Cc: Oliver Bock <o.bock@fh-wolfenbuettel.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/misc/cypress_cy7c63.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/cypress_cy7c63.c b/drivers/usb/misc/cypress_cy7c63.c index a4062a6..9c46746 100644 --- a/drivers/usb/misc/cypress_cy7c63.c +++ b/drivers/usb/misc/cypress_cy7c63.c @@ -208,7 +208,7 @@ static int cypress_probe(struct usb_interface *interface, /* allocate memory for our device state and initialize it */ dev = kzalloc(sizeof(*dev), GFP_KERNEL); if (dev == NULL) { - dev_err(&dev->udev->dev, "Out of memory!\n"); + dev_err(&interface->dev, "Out of memory!\n"); goto error; } |