Stefan Reinauer has submitted this change. ( https://review.coreboot.org/c/em100/+/47777 )
Change subject: Use LIBUSB_LOG_LEVEL_INFO instead of numeric value ......................................................................
Use LIBUSB_LOG_LEVEL_INFO instead of numeric value
Signed-off-by: Stefan Reinauer stefan.reinauer@coreboot.org Change-Id: I34330aa1b7e099a524e73a6d05b310597b05b3a6 Reviewed-on: https://review.coreboot.org/c/em100/+/47777 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com --- M em100.c 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
diff --git a/em100.c b/em100.c index 349f102..ae6d18f 100644 --- a/em100.c +++ b/em100.c @@ -381,9 +381,9 @@ }
#if LIBUSB_API_VERSION < 0x01000106 - libusb_set_debug(ctx, 3); + libusb_set_debug(ctx, LIBUSB_LOG_LEVEL_INFO); #else - libusb_set_option(ctx, LIBUSB_OPTION_LOG_LEVEL, 3); + libusb_set_option(ctx, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_INFO); #endif
if ((!bus || !device) && !serial_number) {