* [PATCH net-next 1/2] seg6: fix lenghts typo in a comment
2025-06-29 17:12 [PATCH net-next 0/2] seg6: fix typos in comments within the SRv6 subsystem Andrea Mayer
@ 2025-06-29 17:12 ` Andrea Mayer
2025-06-30 16:08 ` Simon Horman
2025-06-29 17:12 ` [PATCH net-next 2/2] selftests: seg6: fix instaces typo in comments Andrea Mayer
2025-07-02 2:40 ` [PATCH net-next 0/2] seg6: fix typos in comments within the SRv6 subsystem patchwork-bot+netdevbpf
2 siblings, 1 reply; 6+ messages in thread
From: Andrea Mayer @ 2025-06-29 17:12 UTC (permalink / raw)
To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
David Ahern, Simon Horman, Shuah Khan, netdev, linux-kernel
Cc: Stefano Salsano, Paolo Lungaroni, Andrea Mayer
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH net-next 1/2] seg6: fix lenghts typo in a comment
2025-06-29 17:12 ` [PATCH net-next 1/2] seg6: fix lenghts typo in a comment Andrea Mayer
@ 2025-06-30 16:08 ` Simon Horman
0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2025-06-30 16:08 UTC (permalink / raw)
To: Andrea Mayer
Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
David Ahern, Shuah Khan, netdev, linux-kernel, Stefano Salsano,
Paolo Lungaroni
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>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH net-next 2/2] selftests: seg6: fix instaces typo in comments
2025-06-29 17:12 [PATCH net-next 0/2] seg6: fix typos in comments within the SRv6 subsystem Andrea Mayer
2025-06-29 17:12 ` [PATCH net-next 1/2] seg6: fix lenghts typo in a comment Andrea Mayer
@ 2025-06-29 17:12 ` Andrea Mayer
2025-06-30 16:09 ` Simon Horman
2025-07-02 2:40 ` [PATCH net-next 0/2] seg6: fix typos in comments within the SRv6 subsystem patchwork-bot+netdevbpf
2 siblings, 1 reply; 6+ messages in thread
From: Andrea Mayer @ 2025-06-29 17:12 UTC (permalink / raw)
To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
David Ahern, Simon Horman, Shuah Khan, netdev, linux-kernel,
linux-kselftest
Cc: Stefano Salsano, Paolo Lungaroni, Andrea Mayer
Fix a typo:
instaces -> instances
The typo has been identified using codespell, and the tool does not
report any additional issues in the selftests considered.
Signed-off-by: Andrea Mayer <andrea.mayer@uniroma2.it>
---
tools/testing/selftests/net/srv6_end_next_csid_l3vpn_test.sh | 2 +-
tools/testing/selftests/net/srv6_end_x_next_csid_l3vpn_test.sh | 2 +-
tools/testing/selftests/net/srv6_hencap_red_l3vpn_test.sh | 2 +-
tools/testing/selftests/net/srv6_hl2encap_red_l2vpn_test.sh | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/testing/selftests/net/srv6_end_next_csid_l3vpn_test.sh b/tools/testing/selftests/net/srv6_end_next_csid_l3vpn_test.sh
index ba730655a7bf..4bc135e5c22c 100755
--- a/tools/testing/selftests/net/srv6_end_next_csid_l3vpn_test.sh
+++ b/tools/testing/selftests/net/srv6_end_next_csid_l3vpn_test.sh
@@ -594,7 +594,7 @@ setup_rt_local_sids()
dev "${DUMMY_DEVNAME}"
# all SIDs for VPNs start with a common locator. Routes and SRv6
- # Endpoint behavior instaces are grouped together in the 'localsid'
+ # Endpoint behavior instances are grouped together in the 'localsid'
# table.
ip -netns "${nsname}" -6 rule \
add to "${VPN_LOCATOR_SERVICE}::/16" \
diff --git a/tools/testing/selftests/net/srv6_end_x_next_csid_l3vpn_test.sh b/tools/testing/selftests/net/srv6_end_x_next_csid_l3vpn_test.sh
index bedf0ce885c2..34b781a2ae74 100755
--- a/tools/testing/selftests/net/srv6_end_x_next_csid_l3vpn_test.sh
+++ b/tools/testing/selftests/net/srv6_end_x_next_csid_l3vpn_test.sh
@@ -681,7 +681,7 @@ setup_rt_local_sids()
set_underlay_sids_reachability "${rt}" "${rt_neighs}"
# all SIDs for VPNs start with a common locator. Routes and SRv6
- # Endpoint behavior instaces are grouped together in the 'localsid'
+ # Endpoint behavior instances are grouped together in the 'localsid'
# table.
ip -netns "${nsname}" -6 rule \
add to "${VPN_LOCATOR_SERVICE}::/16" \
diff --git a/tools/testing/selftests/net/srv6_hencap_red_l3vpn_test.sh b/tools/testing/selftests/net/srv6_hencap_red_l3vpn_test.sh
index 3efce1718c5f..6a68c7eff1dc 100755
--- a/tools/testing/selftests/net/srv6_hencap_red_l3vpn_test.sh
+++ b/tools/testing/selftests/net/srv6_hencap_red_l3vpn_test.sh
@@ -395,7 +395,7 @@ setup_rt_local_sids()
dev "${VRF_DEVNAME}"
# all SIDs for VPNs start with a common locator. Routes and SRv6
- # Endpoint behavior instaces are grouped together in the 'localsid'
+ # Endpoint behavior instances are grouped together in the 'localsid'
# table.
ip -netns "${nsname}" -6 rule \
add to "${VPN_LOCATOR_SERVICE}::/16" \
diff --git a/tools/testing/selftests/net/srv6_hl2encap_red_l2vpn_test.sh b/tools/testing/selftests/net/srv6_hl2encap_red_l2vpn_test.sh
index cabc70538ffe..0979b5316fdf 100755
--- a/tools/testing/selftests/net/srv6_hl2encap_red_l2vpn_test.sh
+++ b/tools/testing/selftests/net/srv6_hl2encap_red_l2vpn_test.sh
@@ -343,7 +343,7 @@ setup_rt_local_sids()
encap seg6local action End dev "${DUMMY_DEVNAME}"
# all SIDs for VPNs start with a common locator. Routes and SRv6
- # Endpoint behaviors instaces are grouped together in the 'localsid'
+ # Endpoint behaviors instances are grouped together in the 'localsid'
# table.
ip -netns "${nsname}" -6 rule add \
to "${VPN_LOCATOR_SERVICE}::/16" \
--
2.20.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH net-next 2/2] selftests: seg6: fix instaces typo in comments
2025-06-29 17:12 ` [PATCH net-next 2/2] selftests: seg6: fix instaces typo in comments Andrea Mayer
@ 2025-06-30 16:09 ` Simon Horman
0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2025-06-30 16:09 UTC (permalink / raw)
To: Andrea Mayer
Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
David Ahern, Shuah Khan, netdev, linux-kernel, linux-kselftest,
Stefano Salsano, Paolo Lungaroni
On Sun, Jun 29, 2025 at 07:12:26PM +0200, Andrea Mayer wrote:
> Fix a typo:
> instaces -> instances
>
> The typo has been identified using codespell, and the tool does not
> report any additional issues in the selftests considered.
>
> Signed-off-by: Andrea Mayer <andrea.mayer@uniroma2.it>
Thanks,
With this patch in place I see that codespell only flags
false-positives for tools/testing/selftests/net/srv6_*
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH net-next 0/2] seg6: fix typos in comments within the SRv6 subsystem
2025-06-29 17:12 [PATCH net-next 0/2] seg6: fix typos in comments within the SRv6 subsystem Andrea Mayer
2025-06-29 17:12 ` [PATCH net-next 1/2] seg6: fix lenghts typo in a comment Andrea Mayer
2025-06-29 17:12 ` [PATCH net-next 2/2] selftests: seg6: fix instaces typo in comments Andrea Mayer
@ 2025-07-02 2:40 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 6+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-07-02 2:40 UTC (permalink / raw)
To: Andrea Mayer
Cc: davem, edumazet, kuba, pabeni, dsahern, horms, shuah, netdev,
linux-kernel, stefano.salsano, paolo.lungaroni
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sun, 29 Jun 2025 19:12:24 +0200 you wrote:
> In this patchset, we correct some typos found both in the SRv6 Endpoints
> implementation (i.e., seg6local) and in some SRv6 selftests, using
> codespell.
>
> The patchset is organized as follows:
> Patch 1/2: seg6: fix lenghts typo in a comment
> Patch 2/2: selftests: seg6: fix instaces typo in comments
>
> [...]
Here is the summary with links:
- [net-next,1/2] seg6: fix lenghts typo in a comment
https://git.kernel.org/netdev/net-next/c/db3e2ceab3c7
- [net-next,2/2] selftests: seg6: fix instaces typo in comments
https://git.kernel.org/netdev/net-next/c/3bedaff19bd8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 6+ messages in thread