projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d8be83
)
smsc95xx: fix error checking of usbnet_resume
author
Steve Glendinning
<steve.glendinning@shawell.net>
Thu, 22 Nov 2012 08:05:22 +0000
(08:05 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 23 Nov 2012 19:15:16 +0000
(14:15 -0500)
without this patch the two lines below won't ever execute
Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/smsc95xx.c
b/drivers/net/usb/smsc95xx.c
index e083f537113627557fc997a20d763b9ecc87be97..e8465fecf43a7f928dd13355c4e8155d5b6046da 100644
(file)
--- a/
drivers/net/usb/smsc95xx.c
+++ b/
drivers/net/usb/smsc95xx.c
@@
-1304,7
+1304,7
@@
static int smsc95xx_resume(struct usb_interface *intf)
check_warn_return(ret, "Error writing PM_CTRL");
}
- ret
urn
usbnet_resume(intf);
+ ret
=
usbnet_resume(intf);
check_warn_return(ret, "usbnet_resume error");
return 0;