Message ID | 20190605125942.26696-1-oneukum@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | usb: hso: correct debug message | expand |
On Wed, Jun 05, 2019 at 02:59:42PM +0200, Oliver Neukum wrote: > 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(-) drivers/net/ patches go to netdev@vger...
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index d6916f787fce..6a0ecddff310 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c @@ -2663,7 +2663,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; }
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(-)