projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ba487
)
[PATCH] USB: fix bug in cypress_cy7c63.c driver
author
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 15 Aug 2006 00:32:51 +0000
(17:32 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sat, 26 Aug 2006 20:06:11 +0000
(13:06 -0700)
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>
drivers/usb/misc/cypress_cy7c63.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/misc/cypress_cy7c63.c
b/drivers/usb/misc/cypress_cy7c63.c
index a4062a6adbb830f20c9539b063e69ae493d8c966..9c46746d5d002ab0881918e39ab363f71a4fb926 100644
(file)
--- 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;
}