]> Git Repo - J-linux.git/commitdiff
thunderbolt: Fix kernel-doc for tb_tunnel_alloc_dp()
authorGil Fine <[email protected]>
Thu, 25 Apr 2024 23:37:54 +0000 (02:37 +0300)
committerMika Westerberg <[email protected]>
Sat, 27 Apr 2024 05:03:56 +0000 (08:03 +0300)
In case of no bandwidth available for DP tunnel, the function get the arguments
@max_up and @max_down set to zero. Fix the kernel-doc to describe more
accurately the purpose of the function.

No functional changes.

Signed-off-by: Gil Fine <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
drivers/thunderbolt/tunnel.c

index 1a3b197001dafa5dab0f34a71ed3cee107a2b4d1..41cf6378ad2516ca4eaffcf28681db35611032d5 100644 (file)
@@ -1435,10 +1435,10 @@ err_free:
  * @in: DP in adapter port
  * @out: DP out adapter port
  * @link_nr: Preferred lane adapter when the link is not bonded
- * @max_up: Maximum available upstream bandwidth for the DP tunnel (%0
- *         if not limited)
- * @max_down: Maximum available downstream bandwidth for the DP tunnel
- *           (%0 if not limited)
+ * @max_up: Maximum available upstream bandwidth for the DP tunnel.
+ *         %0 if no available bandwidth.
+ * @max_down: Maximum available downstream bandwidth for the DP tunnel.
+ *           %0 if no available bandwidth.
  *
  * Allocates a tunnel between @in and @out that is capable of tunneling
  * Display Port traffic.
This page took 0.055623 seconds and 4 git commands to generate.