Skip to content

Commit

Permalink
thunderbolt: path: Fix kernel-doc descriptions of non-static functions
Browse files Browse the repository at this point in the history
Fix kernel-doc descriptions of the two non-static functions. This also
gets rid of the warnings on W=1 build.

Reported-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Lee Jones <lee.jones@linaro.org>
  • Loading branch information
Mika Westerberg committed Feb 4, 2021
1 parent b12e482 commit 5fbcb2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/thunderbolt/path.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ void tb_path_deactivate(struct tb_path *path)

/**
* tb_path_activate() - activate a path
* @path: Path to activate
*
* Activate a path starting with the last hop and iterating backwards. The
* caller must fill path->hops before calling tb_path_activate().
Expand Down Expand Up @@ -561,6 +562,7 @@ int tb_path_activate(struct tb_path *path)

/**
* tb_path_is_invalid() - check whether any ports on the path are invalid
* @path: Path to check
*
* Return: Returns true if the path is invalid, false otherwise.
*/
Expand Down

0 comments on commit 5fbcb2d

Please sign in to comment.