* [PATCH] thunderbolt: Fix kernel-doc for tb_tunnel_alloc_dp()
@ 2024-04-25 23:37 Gil Fine
2024-04-27 5:08 ` Mika Westerberg
0 siblings, 1 reply; 2+ messages in thread
From: Gil Fine @ 2024-04-25 23:37 UTC (permalink / raw)
To: andreas.noever, michael.jamet, mika.westerberg, YehezkelShB
Cc: gil.fine, linux-usb, lukas, Gil Fine
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.
Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
---
drivers/thunderbolt/tunnel.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/thunderbolt/tunnel.c b/drivers/thunderbolt/tunnel.c
index 1a3b197001da..41cf6378ad25 100644
--- a/drivers/thunderbolt/tunnel.c
+++ b/drivers/thunderbolt/tunnel.c
@@ -1435,10 +1435,10 @@ struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in,
* @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.
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] thunderbolt: Fix kernel-doc for tb_tunnel_alloc_dp()
2024-04-25 23:37 [PATCH] thunderbolt: Fix kernel-doc for tb_tunnel_alloc_dp() Gil Fine
@ 2024-04-27 5:08 ` Mika Westerberg
0 siblings, 0 replies; 2+ messages in thread
From: Mika Westerberg @ 2024-04-27 5:08 UTC (permalink / raw)
To: Gil Fine
Cc: andreas.noever, michael.jamet, YehezkelShB, gil.fine, linux-usb, lukas
On Fri, Apr 26, 2024 at 02:37:54AM +0300, Gil Fine wrote:
> 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.
>
> Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Applied to thunderbolt.git/next, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-27 5:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 23:37 [PATCH] thunderbolt: Fix kernel-doc for tb_tunnel_alloc_dp() Gil Fine
2024-04-27 5:08 ` Mika Westerberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).