]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
usb: xhci: correct indentation for PORTSC tracing function
authorNiklas Neronin <niklas.neronin@linux.intel.com>
Wed, 17 Sep 2025 21:07:24 +0000 (00:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Sep 2025 07:53:11 +0000 (09:53 +0200)
Correct the indentation in USB Port Register Set (PORTSC) tracing.

Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20250917210726.97100-6-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-trace.h

index bfb5c5c170127a364f9455456a86be53e8007df4..f303ce600ff5b39585facc3e015e7d5a5be5f58c 100644 (file)
@@ -541,23 +541,23 @@ DEFINE_EVENT(xhci_log_ring, xhci_inc_deq,
 );
 
 DECLARE_EVENT_CLASS(xhci_log_portsc,
-                   TP_PROTO(struct xhci_port *port, u32 portsc),
-                   TP_ARGS(port, portsc),
-                   TP_STRUCT__entry(
-                                    __field(u32, busnum)
-                                    __field(u32, portnum)
-                                    __field(u32, portsc)
-                                    ),
-                   TP_fast_assign(
-                                  __entry->busnum = port->rhub->hcd->self.busnum;
-                                  __entry->portnum = port->hcd_portnum;
-                                  __entry->portsc = portsc;
-                                  ),
-                   TP_printk("port %d-%d: %s",
-                             __entry->busnum,
-                             __entry->portnum,
-                             xhci_decode_portsc(__get_buf(XHCI_MSG_MAX), __entry->portsc)
-                             )
+       TP_PROTO(struct xhci_port *port, u32 portsc),
+       TP_ARGS(port, portsc),
+       TP_STRUCT__entry(
+               __field(u32, busnum)
+               __field(u32, portnum)
+               __field(u32, portsc)
+       ),
+       TP_fast_assign(
+               __entry->busnum = port->rhub->hcd->self.busnum;
+               __entry->portnum = port->hcd_portnum;
+               __entry->portsc = portsc;
+       ),
+       TP_printk("port %d-%d: %s",
+               __entry->busnum,
+               __entry->portnum,
+               xhci_decode_portsc(__get_buf(XHCI_MSG_MAX), __entry->portsc)
+       )
 );
 
 DEFINE_EVENT(xhci_log_portsc, xhci_handle_port_status,