thunderbolt: Log adapter numbers in decimal in path activation/deactivation
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 17 Nov 2020 10:41:21 +0000 (13:41 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 30 Nov 2020 11:39:23 +0000 (14:39 +0300)
This makes it consistent with other debug logs that already are using
decimal number for adapters (ports).

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/path.c

index 7c2c45d..ca7d738 100644 (file)
@@ -454,7 +454,7 @@ void tb_path_deactivate(struct tb_path *path)
                return;
        }
        tb_dbg(path->tb,
-              "deactivating %s path from %llx:%x to %llx:%x\n",
+              "deactivating %s path from %llx:%u to %llx:%u\n",
               path->name, tb_route(path->hops[0].in_port->sw),
               path->hops[0].in_port->port,
               tb_route(path->hops[path->path_length - 1].out_port->sw),
@@ -482,7 +482,7 @@ int tb_path_activate(struct tb_path *path)
        }
 
        tb_dbg(path->tb,
-              "activating %s path from %llx:%x to %llx:%x\n",
+              "activating %s path from %llx:%u to %llx:%u\n",
               path->name, tb_route(path->hops[0].in_port->sw),
               path->hops[0].in_port->port,
               tb_route(path->hops[path->path_length - 1].out_port->sw),