projects
/
wrapfs-3.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
504a02d
)
usb: core: hub: fix unhandled return by employing a void function
author
Eugeniu Rosca
<erosca@de.adit-jv.com>
Wed, 26 Feb 2020 17:50:34 +0000
(18:50 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 11 Mar 2020 17:03:02 +0000
(18:03 +0100)
commit
63d6d7ed475c53dc1cabdfedf63de1fd8dcd72ee
upstream.
Address below Coverity complaint (Feb 25, 2020, 8:06 AM CET):
drivers/usb/core/hub.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index ff1be6a6841bc11d976e959c38461ea7708dcc08..b0624940ccb05288bea67fb724e35b0dd09893c6 100644
(file)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-1818,7
+1818,7
@@
static int hub_probe(struct usb_interface *intf, const struct usb_device_id *id)
if (id->driver_info & HUB_QUIRK_DISABLE_AUTOSUSPEND) {
hub->quirk_disable_autosuspend = 1;
- usb_autopm_get_interface(intf);
+ usb_autopm_get_interface
_no_resume
(intf);
}
if (hub_configure(hub, &desc->endpoint[0].desc) >= 0)