OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
e083f53
..
e8465fe
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;