Message ID | 20220303110903.1662404-4-mathias.nyman@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 05519b8589a679edb8fa781259893d20bece04ad |
Headers | show |
Series | xhci cleanups and fixes for usb-next | expand |
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 1d83ddace482..473a33ce299e 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -2468,6 +2468,8 @@ static inline const char *xhci_decode_ctrl_ctx(char *str, unsigned int bit; int ret = 0; + str[0] = '\0'; + if (drop) { ret = sprintf(str, "Drop:"); for_each_set_bit(bit, &drop, 32)