]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
thunderbolt: Show path name in debug log when path is deactivated
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 26 Aug 2024 07:47:32 +0000 (10:47 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 3 Jan 2025 09:50:08 +0000 (11:50 +0200)
Similarly as we do when activating the path. Helps in debugging.

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

index f760e54cd9bd1f9cc8caf8ad43990e1d32996437..e1a5f6e3d0b6adace7c1cf6a475af51d370eb200 100644 (file)
@@ -581,10 +581,10 @@ int tb_path_activate(struct tb_path *path)
                }
        }
        path->activated = true;
-       tb_dbg(path->tb, "path activation complete\n");
+       tb_dbg(path->tb, "%s path activation complete\n", path->name);
        return 0;
 err:
-       tb_WARN(path->tb, "path activation failed\n");
+       tb_WARN(path->tb, "%s path activation failed\n", path->name);
        return res;
 }