Commit ebf0da20 authored by Linus Torvalds's avatar Linus Torvalds

Fix USB debugging build.

Too much cut-and-paste, hidden by the fact that without debugging,
"dev_dbg()" doesn't even look at its arguments.
parent 52b266dd
......@@ -2395,7 +2395,7 @@ static void hub_port_connect_change(struct usb_hub *hub, int port,
if (portstatus & USB_PORT_STAT_SUSPEND) {
status = hub_port_resume(hdev, port);
if (status < 0)
dev_dbg(hub_dev, "can't clear suspend on port %d; %d\n", port+1, retval);
dev_dbg(hub_dev, "can't clear suspend on port %d; %d\n", port+1, status);
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment