Skip to content

Commit

Permalink
thunderbolt: Show path name in debug log when path is deactivated
Browse files Browse the repository at this point in the history
Similarly as we do when activating the path. Helps in debugging.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
  • Loading branch information
Mika Westerberg committed Jan 3, 2025
1 parent a674b83 commit 693b5bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/thunderbolt/path.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 693b5bb

Please sign in to comment.