Skip to content

Commit 693b5bb

Browse files
committed
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 <[email protected]>
1 parent a674b83 commit 693b5bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/thunderbolt/path.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,10 +581,10 @@ int tb_path_activate(struct tb_path *path)
581581
}
582582
}
583583
path->activated = true;
584-
tb_dbg(path->tb, "path activation complete\n");
584+
tb_dbg(path->tb, "%s path activation complete\n", path->name);
585585
return 0;
586586
err:
587-
tb_WARN(path->tb, "path activation failed\n");
587+
tb_WARN(path->tb, "%s path activation failed\n", path->name);
588588
return res;
589589
}
590590

0 commit comments

Comments
 (0)