aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2024-08-26 10:47:32 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2025-01-03 11:50:08 +0200
commit693b5bb6f6e567e4743e0df182a0844be539e381 (patch)
treeaf1f2d9a34c60e7314e47c7e7aa11697cca9baf4
parentthunderbolt: Make tb_tunnel_one_dp() return void (diff)
downloadwireguard-linux-693b5bb6f6e567e4743e0df182a0844be539e381.tar.xz
wireguard-linux-693b5bb6f6e567e4743e0df182a0844be539e381.zip
thunderbolt: Show path name in debug log when path is deactivated
Similarly as we do when activating the path. Helps in debugging. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
-rw-r--r--drivers/thunderbolt/path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thunderbolt/path.c b/drivers/thunderbolt/path.c
index f760e54cd9bd..e1a5f6e3d0b6 100644
--- a/drivers/thunderbolt/path.c
+++ b/drivers/thunderbolt/path.c
@@ -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;
}