Skip to content

Commit b0af5ae

Browse files
Epicuriusgregkh
authored andcommitted
usb: xhci: remove excessive Bulk short packet debug message
Completion codes 'COMP_SUCCESS' and 'COMP_SHORT_PACKET' are the most frequently encountered completion codes. Typically, these codes do not trigger a default debug message but rather a warning that indicates a potential issue. This behavior is consistent across all transfer types with the exception of Bulk transfers. To reduce unnecessary log clutter, remove the Bulk 'COMP_SHORT_PACKET' debug message. Signed-off-by: Niklas Neronin <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a1de068 commit b0af5ae

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/usb/host/xhci-ring.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2521,9 +2521,6 @@ static int process_bulk_intr_td(struct xhci_hcd *xhci, struct xhci_virt_ep *ep,
25212521
td->status = 0;
25222522
break;
25232523
case COMP_SHORT_PACKET:
2524-
xhci_dbg(xhci, "ep %#x - asked for %d bytes, %d bytes untransferred\n",
2525-
td->urb->ep->desc.bEndpointAddress,
2526-
requested, remaining);
25272524
td->status = 0;
25282525
break;
25292526
case COMP_STOPPED_SHORT_PACKET:

0 commit comments

Comments
 (0)