@@ -2723,20 +2723,16 @@ static int handle_tx_event(struct xhci_hcd *xhci,
2723
2723
*/
2724
2724
xhci_dbg (xhci , "underrun event on endpoint\n" );
2725
2725
if (!list_empty (& ep_ring -> td_list ))
2726
- xhci_dbg (xhci , "Underrun Event for slot %d ep %d "
2727
- "still with TDs queued?\n" ,
2728
- TRB_TO_SLOT_ID (le32_to_cpu (event -> flags )),
2729
- ep_index );
2726
+ xhci_dbg (xhci , "Underrun Event for slot %u ep %d still with TDs queued?\n" ,
2727
+ slot_id , ep_index );
2730
2728
if (ep -> skip )
2731
2729
break ;
2732
2730
return 0 ;
2733
2731
case COMP_RING_OVERRUN :
2734
2732
xhci_dbg (xhci , "overrun event on endpoint\n" );
2735
2733
if (!list_empty (& ep_ring -> td_list ))
2736
- xhci_dbg (xhci , "Overrun Event for slot %d ep %d "
2737
- "still with TDs queued?\n" ,
2738
- TRB_TO_SLOT_ID (le32_to_cpu (event -> flags )),
2739
- ep_index );
2734
+ xhci_dbg (xhci , "Overrun Event for slot %u ep %d still with TDs queued?\n" ,
2735
+ slot_id , ep_index );
2740
2736
if (ep -> skip )
2741
2737
break ;
2742
2738
return 0 ;
@@ -2795,9 +2791,8 @@ static int handle_tx_event(struct xhci_hcd *xhci,
2795
2791
if (!(trb_comp_code == COMP_STOPPED ||
2796
2792
trb_comp_code == COMP_STOPPED_LENGTH_INVALID ||
2797
2793
ep_ring -> last_td_was_short )) {
2798
- xhci_warn (xhci , "WARN Event TRB for slot %d ep %d with no TDs queued?\n" ,
2799
- TRB_TO_SLOT_ID (le32_to_cpu (event -> flags )),
2800
- ep_index );
2794
+ xhci_warn (xhci , "WARN Event TRB for slot %u ep %d with no TDs queued?\n" ,
2795
+ slot_id , ep_index );
2801
2796
}
2802
2797
if (ep -> skip ) {
2803
2798
ep -> skip = false;
0 commit comments