Skip to content

Commit e16fdea

Browse files
Epicuriusgregkh
authored andcommitted
usb: xhci: correct indentation for PORTSC tracing function
Correct the indentation in USB Port Register Set (PORTSC) tracing. 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 931e468 commit e16fdea

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

drivers/usb/host/xhci-trace.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -541,23 +541,23 @@ DEFINE_EVENT(xhci_log_ring, xhci_inc_deq,
541541
);
542542

543543
DECLARE_EVENT_CLASS(xhci_log_portsc,
544-
TP_PROTO(struct xhci_port *port, u32 portsc),
545-
TP_ARGS(port, portsc),
546-
TP_STRUCT__entry(
547-
__field(u32, busnum)
548-
__field(u32, portnum)
549-
__field(u32, portsc)
550-
),
551-
TP_fast_assign(
552-
__entry->busnum = port->rhub->hcd->self.busnum;
553-
__entry->portnum = port->hcd_portnum;
554-
__entry->portsc = portsc;
555-
),
556-
TP_printk("port %d-%d: %s",
557-
__entry->busnum,
558-
__entry->portnum,
559-
xhci_decode_portsc(__get_buf(XHCI_MSG_MAX), __entry->portsc)
560-
)
544+
TP_PROTO(struct xhci_port *port, u32 portsc),
545+
TP_ARGS(port, portsc),
546+
TP_STRUCT__entry(
547+
__field(u32, busnum)
548+
__field(u32, portnum)
549+
__field(u32, portsc)
550+
),
551+
TP_fast_assign(
552+
__entry->busnum = port->rhub->hcd->self.busnum;
553+
__entry->portnum = port->hcd_portnum;
554+
__entry->portsc = portsc;
555+
),
556+
TP_printk("port %d-%d: %s",
557+
__entry->busnum,
558+
__entry->portnum,
559+
xhci_decode_portsc(__get_buf(XHCI_MSG_MAX), __entry->portsc)
560+
)
561561
);
562562

563563
DEFINE_EVENT(xhci_log_portsc, xhci_handle_port_status,

0 commit comments

Comments
 (0)