[SLOF] [PATCH] usb: print unhandled descriptor in debug mode
Alexey Kardashevskiy
aik at ozlabs.ru
Wed Dec 9 15:52:48 AEDT 2015
On 12/03/2015 08:04 PM, Nikunj A Dadhania wrote:
> Signed-off-by: Nikunj A Dadhania <nikunj at linux.vnet.ibm.com>
> Reviewed-by: Thomas Huth <thuth at redhat.com>
> ---
> lib/libusb/usb-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/libusb/usb-core.c b/lib/libusb/usb-core.c
> index 6719c57..9bd4665 100644
> --- a/lib/libusb/usb-core.c
> +++ b/lib/libusb/usb-core.c
> @@ -477,7 +477,7 @@ static int usb_handle_device(struct usb_dev *dev, struct usb_dev_config_descr *c
> case DESCR_TYPE_HUB:
> break;
> default:
> - printf("ptr %p desc_type %d\n", ptr, desc_type);
> + dprintf("ptr %p desc_type %d\n", ptr, desc_type);
> }
> ptr += desc_len;
> len -= desc_len;
>
Thanks, applied.
--
Alexey
More information about the SLOF
mailing list