Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH 0/3] net: fix typos in comments
@ 2026-09-07  6:42 Hemanth Selam
  2026-09-07  6:42 ` [PATCH 1/3] net: ipv4: fix typo "alignement" in comment Hemanth Selam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  6:42 UTC (permalink / raw)
  To: Pablo Neira Ayuso, Florian Westphal, Phil Sutter,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Simon Horman, Shuah Khan
  Cc: netfilter-devel, coreteam, netdev, linux-kernel, linux-kselftest

This corrects 3 misspellings in comments.  Each is a separate patch so
that any one of them can be dropped without touching the rest.

Nothing outside comments changes.  Every touched C file was checked by
dropping its comments, replacing each string literal with a placeholder
and collapsing whitespace; what remained was identical before and after,
so the compiled code cannot differ.

The mistakes were found with scripts/checkpatch.pl against the list in
scripts/spelling.txt.  The scanning, the edits and the changelogs were
produced with Cursor running the claude-opus-5 model, from a request to
find and fix spelling mistakes across the tree, and every correction was
then re-checked by the comparison described above.  Words that name an
identifier were left alone deliberately, even when they read as typos,
because correcting the prose would make the comment disagree with the
code it describes.

Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which
is clean.  Nothing else was built, so any patch touching code that
x86_64 defconfig does not compile has been read but not compiled.

Hemanth Selam (3):
  net: ipv4: fix typo "alignement" in comment
  net: netfilter: fix typo "artifical" in comment
  selftests: net: fix typo "adress" in comment

 net/ipv4/netfilter/arp_tables.c                                 | 2 +-
 net/netfilter/ipset/ip_set_core.c                               | 2 +-
 tools/testing/selftests/net/netfilter/conntrack_icmp_related.sh | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.48.1


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

* [PATCH 1/3] net: ipv4: fix typo "alignement" in comment
  2026-09-07  6:42 [PATCH 0/3] net: fix typos in comments Hemanth Selam
@ 2026-09-07  6:42 ` Hemanth Selam
  2026-09-07  6:42 ` [PATCH 2/3] net: netfilter: fix typo "artifical" " Hemanth Selam
  2026-09-07  6:42 ` [PATCH 3/3] selftests: net: fix typo "adress" " Hemanth Selam
  2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  6:42 UTC (permalink / raw)
  To: Pablo Neira Ayuso, Florian Westphal, Phil Sutter,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Simon Horman, Shuah Khan
  Cc: netfilter-devel, coreteam, netdev, linux-kernel, linux-kselftest

Correct "alignement" to "alignment", reported by scripts/checkpatch.pl
using the misspelling list in scripts/spelling.txt.  Only touches comments,
no code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 net/ipv4/netfilter/arp_tables.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv4/netfilter/arp_tables.c b/net/ipv4/netfilter/arp_tables.c
index a87e07e80d0d..b680bd14d329 100644
--- a/net/ipv4/netfilter/arp_tables.c
+++ b/net/ipv4/netfilter/arp_tables.c
@@ -59,7 +59,7 @@ static inline int arp_devaddr_compare(const struct arpt_devaddr_info *ap,
 /*
  * Unfortunately, _b and _mask are not aligned to an int (or long int)
  * Some arches dont care, unrolling the loop is a win on them.
- * For other arches, we only have a 16bit alignement.
+ * For other arches, we only have a 16bit alignment.
  */
 static unsigned long ifname_compare(const char *_a, const char *_b, const char *_mask)
 {
-- 
2.48.1


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

* [PATCH 2/3] net: netfilter: fix typo "artifical" in comment
  2026-09-07  6:42 [PATCH 0/3] net: fix typos in comments Hemanth Selam
  2026-09-07  6:42 ` [PATCH 1/3] net: ipv4: fix typo "alignement" in comment Hemanth Selam
@ 2026-09-07  6:42 ` Hemanth Selam
  2026-09-07  6:42 ` [PATCH 3/3] selftests: net: fix typo "adress" " Hemanth Selam
  2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  6:42 UTC (permalink / raw)
  To: Pablo Neira Ayuso, Florian Westphal, Phil Sutter,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Simon Horman, Shuah Khan
  Cc: netfilter-devel, coreteam, netdev, linux-kernel, linux-kselftest

Correct "artifical" to "artificial", reported by scripts/checkpatch.pl
using the misspelling list in scripts/spelling.txt.  Only touches comments,
no code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 net/netfilter/ipset/ip_set_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/netfilter/ipset/ip_set_core.c b/net/netfilter/ipset/ip_set_core.c
index 0a86a170ba90..4aeb767088cf 100644
--- a/net/netfilter/ipset/ip_set_core.c
+++ b/net/netfilter/ipset/ip_set_core.c
@@ -1426,7 +1426,7 @@ static int ip_set_swap(struct sk_buff *skb, const struct nfnl_info *info,
 		return -IPSET_ERR_EXIST_SETNAME2;
 
 	/* Features must not change.
-	 * Not an artifical restriction anymore, as we must prevent
+	 * Not an artificial restriction anymore, as we must prevent
 	 * possible loops created by swapping in setlist type of sets.
 	 */
 	if (!(from->type->features == to->type->features &&
-- 
2.48.1


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

* [PATCH 3/3] selftests: net: fix typo "adress" in comment
  2026-09-07  6:42 [PATCH 0/3] net: fix typos in comments Hemanth Selam
  2026-09-07  6:42 ` [PATCH 1/3] net: ipv4: fix typo "alignement" in comment Hemanth Selam
  2026-09-07  6:42 ` [PATCH 2/3] net: netfilter: fix typo "artifical" " Hemanth Selam
@ 2026-09-07  6:42 ` Hemanth Selam
  2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  6:42 UTC (permalink / raw)
  To: Pablo Neira Ayuso, Florian Westphal, Phil Sutter,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Simon Horman, Shuah Khan
  Cc: netfilter-devel, coreteam, netdev, linux-kernel, linux-kselftest

Correct "adress" to "address", reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt.  Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 tools/testing/selftests/net/netfilter/conntrack_icmp_related.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/net/netfilter/conntrack_icmp_related.sh b/tools/testing/selftests/net/netfilter/conntrack_icmp_related.sh
index c63d840ead61..f63b7f12b36a 100755
--- a/tools/testing/selftests/net/netfilter/conntrack_icmp_related.sh
+++ b/tools/testing/selftests/net/netfilter/conntrack_icmp_related.sh
@@ -171,7 +171,7 @@ table inet filter {
 }
 EOF
 
-# make sure NAT core rewrites adress of icmp error if nat is used according to
+# make sure NAT core rewrites address of icmp error if nat is used according to
 # conntrack nat information (icmp error will be directed at nsrouter1 address,
 # but it needs to be routed to nsclient1 address).
 ip netns exec "$nsrouter1" nft -f - <<EOF
-- 
2.48.1


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

end of thread, other threads:[~2026-09-07  6:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-07  6:42 [PATCH 0/3] net: fix typos in comments Hemanth Selam
2026-09-07  6:42 ` [PATCH 1/3] net: ipv4: fix typo "alignement" in comment Hemanth Selam
2026-09-07  6:42 ` [PATCH 2/3] net: netfilter: fix typo "artifical" " Hemanth Selam
2026-09-07  6:42 ` [PATCH 3/3] selftests: net: fix typo "adress" " Hemanth Selam

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