* [PATCH] usb: hso: correct debug message
@ 2020-05-07 9:49 Oliver Neukum
2020-05-07 20:00 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Oliver Neukum @ 2020-05-07 9:49 UTC (permalink / raw)
To: davem, johan, netdev; +Cc: Oliver Neukum
If you do not find the OUT endpoint, you should say so,
rather than copy the error message for the IN endpoint.
Presumably a copy and paste error.
Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
drivers/net/usb/hso.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c
index 417e42c9fd03..bb8c34d746ab 100644
--- a/drivers/net/usb/hso.c
+++ b/drivers/net/usb/hso.c
@@ -2659,7 +2659,7 @@ static struct hso_device *hso_create_bulk_serial_device(
if (!
(serial->out_endp =
hso_get_ep(interface, USB_ENDPOINT_XFER_BULK, USB_DIR_OUT))) {
- dev_err(&interface->dev, "Failed to find BULK IN ep\n");
+ dev_err(&interface->dev, "Failed to find BULK OUT ep\n");
goto exit2;
}
--
2.16.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb: hso: correct debug message
2020-05-07 9:49 [PATCH] usb: hso: correct debug message Oliver Neukum
@ 2020-05-07 20:00 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-05-07 20:00 UTC (permalink / raw)
To: oneukum; +Cc: johan, netdev
From: Oliver Neukum <oneukum@suse.com>
Date: Thu, 7 May 2020 11:49:49 +0200
> If you do not find the OUT endpoint, you should say so,
> rather than copy the error message for the IN endpoint.
> Presumably a copy and paste error.
>
> Signed-off-by: Oliver Neukum <oneukum@suse.com>
Applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-07 20:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 9:49 [PATCH] usb: hso: correct debug message Oliver Neukum
2020-05-07 20:00 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).