mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH nf-next v2 0/3] netfilter: fix typos in comments
@ 2026-09-07  9:52 Hemanth Selam
  2026-09-07  9:52 ` [PATCH nf-next v2 1/3] netfilter: arp_tables: fix typo "alignement" in comment Hemanth Selam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  9:52 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

Three comment typos under netfilter, split one per component.  Found with scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt.  Comments only, no code
changes.

v1 went out with a bare [PATCH] and a "net:" subject prefix.  As
maintainer-netdev.rst asks, v2 designates the patches to a tree, and
each subject now names the component it touches instead of "net:".  The
series is rebased onto that tree; the diff is unchanged.

v1: https://lore.kernel.org/all/20260907064239.39910-1-hemanth.selam@gmail.com/


Hemanth Selam (3):
  netfilter: arp_tables: fix typo "alignement" in comment
  netfilter: ipset: fix typo "artifical" in comment
  selftests: netfilter: 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(-)


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

* [PATCH nf-next v2 1/3] netfilter: arp_tables: fix typo "alignement" in comment
  2026-09-07  9:52 [PATCH nf-next v2 0/3] netfilter: fix typos in comments Hemanth Selam
@ 2026-09-07  9:52 ` Hemanth Selam
  2026-09-07  9:52 ` [PATCH nf-next v2 2/3] netfilter: ipset: fix typo "artifical" " Hemanth Selam
  2026-09-07  9:52 ` [PATCH nf-next v2 3/3] selftests: netfilter: fix typo "adress" " Hemanth Selam
  2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  9:52 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

Fix a typo in comments, found with 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>
---

Notes:
    v2: designate the patch to nf-next and use a subject prefix naming the
    component, as maintainer-netdev.rst asks; v1 went out with a bare
    [PATCH] and a "net:" prefix. Rebased onto nf-next, diff unchanged.
    
    v1: https://lore.kernel.org/all/20260907064239.39910-1-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)
 {

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

* [PATCH nf-next v2 2/3] netfilter: ipset: fix typo "artifical" in comment
  2026-09-07  9:52 [PATCH nf-next v2 0/3] netfilter: fix typos in comments Hemanth Selam
  2026-09-07  9:52 ` [PATCH nf-next v2 1/3] netfilter: arp_tables: fix typo "alignement" in comment Hemanth Selam
@ 2026-09-07  9:52 ` Hemanth Selam
  2026-09-07  9:52 ` [PATCH nf-next v2 3/3] selftests: netfilter: fix typo "adress" " Hemanth Selam
  2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  9:52 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

Fix a typo in comments, found with 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>
---

Notes:
    v2: designate the patch to nf-next and use a subject prefix naming the
    component, as maintainer-netdev.rst asks; v1 went out with a bare
    [PATCH] and a "net:" prefix. Rebased onto nf-next, diff unchanged.
    
    v1: https://lore.kernel.org/all/20260907064239.39910-1-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 &&

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

* [PATCH nf-next v2 3/3] selftests: netfilter: fix typo "adress" in comment
  2026-09-07  9:52 [PATCH nf-next v2 0/3] netfilter: fix typos in comments Hemanth Selam
  2026-09-07  9:52 ` [PATCH nf-next v2 1/3] netfilter: arp_tables: fix typo "alignement" in comment Hemanth Selam
  2026-09-07  9:52 ` [PATCH nf-next v2 2/3] netfilter: ipset: fix typo "artifical" " Hemanth Selam
@ 2026-09-07  9:52 ` Hemanth Selam
  2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  9:52 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

Fix a typo in comments, found with 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>
---

Notes:
    v2: designate the patch to nf-next and use a subject prefix naming the
    component, as maintainer-netdev.rst asks; v1 went out with a bare
    [PATCH] and a "net:" prefix. Rebased onto nf-next, diff unchanged.
    
    v1: https://lore.kernel.org/all/20260907064239.39910-1-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

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07  9:52 [PATCH nf-next v2 0/3] netfilter: fix typos in comments Hemanth Selam
2026-09-07  9:52 ` [PATCH nf-next v2 1/3] netfilter: arp_tables: fix typo "alignement" in comment Hemanth Selam
2026-09-07  9:52 ` [PATCH nf-next v2 2/3] netfilter: ipset: fix typo "artifical" " Hemanth Selam
2026-09-07  9:52 ` [PATCH nf-next v2 3/3] selftests: netfilter: 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

all inboxes | Powered by JetHome®