[SLOF] [PATCH] usb: print unhandled descriptor in debug mode
Nikunj A Dadhania
nikunj at linux.vnet.ibm.com
Thu Dec 3 20:04:49 AEDT 2015
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;
--
2.5.0
More information about the SLOF
mailing list