]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
seg6: fix lenghts typo in a comment
authorAndrea Mayer <andrea.mayer@uniroma2.it>
Sun, 29 Jun 2025 17:12:25 +0000 (19:12 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Jul 2025 02:32:45 +0000 (19:32 -0700)
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>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250629171226.4988-2-andrea.mayer@uniroma2.it
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/seg6_local.c

index dfa825ee870e6b6c75b688d9aa9512c5bd0f39d8..4834d72624cf807ee29a86d22a4b9303a599ec37 100644 (file)
@@ -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;