Re: [PATCH] usb: core: downgrade log severity to info when descriptor missing

From: Scot Doyle
Date: Tue Sep 23 2014 - 15:06:44 EST


On Tue, 23 Sep 2014, Alan Stern wrote:
> -ENODATA doesn't mean the string was unavailable. It means that the
> second byte of the reply was different from USB_DT_STRING, i.e., the
> reply was malformed.

Thank you for the correction!

> And down here is where you should call either dev_info() or dev_err(),
> depending on whether err is equal to -EPIPE or something else.

I hope to send it shortly.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/