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

2014-09-23 Thread Scot Doyle
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 d

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

2014-09-23 Thread Alan Stern
On Mon, 22 Sep 2014, Scot Doyle wrote: > According to commit 0cce2eda19923e5e5ccc8b042dec5af87b3ffad0 > USB: fix LANGID=0 regression > > usb devices are not required to report string descriptors. Since they are > optional, log an info message instead of an error message. In addition, > use a

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

2014-09-22 Thread Scot Doyle
According to commit 0cce2eda19923e5e5ccc8b042dec5af87b3ffad0 USB: fix LANGID=0 regression usb devices are not required to report string descriptors. Since they are optional, log an info message instead of an error message. In addition, use a higher level info message while moving the details t