From: Oliver Neukum Date: Thu, 7 May 2020 09:49:49 +0000 (+0200) Subject: usb: hso: correct debug message X-Git-Tag: v5.15~3883^2~44 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1a10186e598a5be5bc1cd5e55d9e9598a7c079ac;p=mirror_ubuntu-kernels.git 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 Signed-off-by: David S. Miller --- 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; }