Message ID | 20220303102656.1661407-4-mathias.nyman@linux.intel.com |
---|---|
State | New |
Headers | show |
Series | [1/9] xhci: make xhci_handshake timeout for xhci_reset() adjustable | 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)