thunderbolt: Fix one kernel-doc comment
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 24 Oct 2023 00:43:30 +0000 (08:43 +0800)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 24 Oct 2023 04:49:17 +0000 (07:49 +0300)
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>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.c

index 664f8e8..f250a67 100644 (file)
@@ -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