summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2020-05-07 11:49:49 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-07 12:59:33 -0700
commit1a10186e598a5be5bc1cd5e55d9e9598a7c079ac (patch)
tree0d41a518c5340ffb2c4be33fbc34f876f2beb675 /drivers/net/usb
parent64082b67ba724c5a5acfff38d352068c4992d089 (diff)
downloadlinux-stable-1a10186e598a5be5bc1cd5e55d9e9598a7c079ac.tar.gz
linux-stable-1a10186e598a5be5bc1cd5e55d9e9598a7c079ac.tar.bz2
linux-stable-1a10186e598a5be5bc1cd5e55d9e9598a7c079ac.zip
usb: hso: correct debug message
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r--drivers/net/usb/hso.c2
1 files changed, 1 insertions, 1 deletions
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;
}