mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] thunderbolt: Fix one kernel-doc comment
@ 2023-10-24  0:43 Yang Li
  2023-10-24  4:50 ` Mika Westerberg
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2023-10-24  0:43 UTC (permalink / raw)
  To: andreas.noever, michael.jamet, mika.westerberg, YehezkelShB
  Cc: linux-usb, linux-kernel, Yang Li, Abaci Robot

Fix a spelling errors in kernel doc comment, silence the warning:

drivers/thunderbolt/tb.c:760: warning: expecting prototype for tb_maximum_banwidth(). Prototype was for tb_maximum_bandwidth() instead

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7048
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/thunderbolt/tb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thunderbolt/tb.c b/drivers/thunderbolt/tb.c
index f831aaf77efd..5acdeb766860 100644
--- a/drivers/thunderbolt/tb.c
+++ b/drivers/thunderbolt/tb.c
@@ -739,7 +739,7 @@ static bool tb_asym_supported(struct tb_port *src_port, struct tb_port *dst_port
 }
 
 /**
- * tb_maximum_banwidth() - Maximum bandwidth over a single link
+ * tb_maximum_bandwidth() - Maximum bandwidth over a single link
  * @tb: Domain structure
  * @src_port: Source protocol adapter
  * @dst_port: Destination protocol adapter
-- 
2.20.1.7.g153144c


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] thunderbolt: Fix one kernel-doc comment
  2023-10-24  0:43 [PATCH -next] thunderbolt: Fix one kernel-doc comment Yang Li
@ 2023-10-24  4:50 ` Mika Westerberg
  0 siblings, 0 replies; 2+ messages in thread
From: Mika Westerberg @ 2023-10-24  4:50 UTC (permalink / raw)
  To: Yang Li
  Cc: andreas.noever, michael.jamet, YehezkelShB, linux-usb,
	linux-kernel, Abaci Robot

On Tue, Oct 24, 2023 at 08:43:30AM +0800, Yang Li wrote:
> Fix a spelling errors in kernel doc comment, silence the warning:
> 
> drivers/thunderbolt/tb.c:760: warning: expecting prototype for tb_maximum_banwidth(). Prototype was for tb_maximum_bandwidth() instead
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7048
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Applied to thunderbolt.git/next, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-24  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-24  0:43 [PATCH -next] thunderbolt: Fix one kernel-doc comment Yang Li
2023-10-24  4:50 ` Mika Westerberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome