projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7ccdfe
)
USB: fix __must_check warnings in drivers/usb/class/
author
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 28 Aug 2006 18:43:25 +0000
(11:43 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 27 Sep 2006 18:58:58 +0000
(11:58 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/usblp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/class/usblp.c
b/drivers/usb/class/usblp.c
index 9b05a359b9f7ff47c35563279de5b20c85899559..9cac11ca1bb73f83cada5a12f77bf4f6ebb4fc11 100644
(file)
--- a/
drivers/usb/class/usblp.c
+++ b/
drivers/usb/class/usblp.c
@@
-927,7
+927,9
@@
static int usblp_probe(struct usb_interface *intf,
/* Retrieve and store the device ID string. */
usblp_cache_device_id_string(usblp);
- device_create_file(&intf->dev, &dev_attr_ieee1284_id);
+ retval = device_create_file(&intf->dev, &dev_attr_ieee1284_id);
+ if (retval)
+ goto abort_intfdata;
#ifdef DEBUG
usblp_check_status(usblp, 0);