]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
thunderbolt: Use decimal number with port numbers
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 1 Apr 2022 10:36:47 +0000 (13:36 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 19 Apr 2022 07:26:07 +0000 (10:26 +0300)
This makes it consistent with the other logging functions.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Tested-by: Brad Campbell <lists2009@fnarfbargle.com>
drivers/thunderbolt/tb.h

index b6fcd8d453243717ad13055ded7db31219286781..ad025ff142babd99663add633c71c1f844e43a56 100644 (file)
@@ -674,7 +674,7 @@ static inline int tb_port_write(struct tb_port *port, const void *buffer,
 #define __TB_PORT_PRINT(level, _port, fmt, arg...)                      \
        do {                                                            \
                const struct tb_port *__port = (_port);                 \
-               level(__port->sw->tb, "%llx:%x: " fmt,                  \
+               level(__port->sw->tb, "%llx:%u: " fmt,                  \
                      tb_route(__port->sw), __port->port, ## arg);      \
        } while (0)
 #define tb_port_WARN(port, fmt, arg...) \