[PATCH net-next 1/2] seg6: fix lenghts typo in a comment

Andrea Mayer posted 2 patches 3 months, 1 week ago
[PATCH net-next 1/2] seg6: fix lenghts typo in a comment
Posted by Andrea Mayer 3 months, 1 week ago
Fix a typo:
  lenghts -> length

The typo has been identified using codespell, and the tool currently
does not report any additional issues in comments.

Signed-off-by: Andrea Mayer <andrea.mayer@uniroma2.it>
---
 net/ipv6/seg6_local.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv6/seg6_local.c b/net/ipv6/seg6_local.c
index dfa825ee870e..4834d72624cf 100644
--- a/net/ipv6/seg6_local.c
+++ b/net/ipv6/seg6_local.c
@@ -2087,7 +2087,7 @@ struct nla_policy seg6_local_flavors_policy[SEG6_LOCAL_FLV_MAX + 1] = {
 static int seg6_chk_next_csid_cfg(__u8 block_len, __u8 func_len)
 {
 	/* Locator-Block and Locator-Node Function cannot exceed 128 bits
-	 * (i.e. C-SID container lenghts).
+	 * (i.e. C-SID container length).
 	 */
 	if (next_csid_chk_cntr_bits(block_len, func_len))
 		return -EINVAL;
-- 
2.20.1
Re: [PATCH net-next 1/2] seg6: fix lenghts typo in a comment
Posted by Simon Horman 3 months, 1 week ago
On Sun, Jun 29, 2025 at 07:12:25PM +0200, Andrea Mayer wrote:
> Fix a typo:
>   lenghts -> length
> 
> The typo has been identified using codespell, and the tool currently
> does not report any additional issues in comments.
> 
> Signed-off-by: Andrea Mayer <andrea.mayer@uniroma2.it>

Thanks,

With this patch in place I see that codespell only flags
false-positives for net/ipv6/seg6_*

Reviewed-by: Simon Horman <horms@kernel.org>