* [PATCH] net: ipv6: fix spelling typos in comments
@ 2025-11-27 10:31 Shi Hao
2025-11-29 3:55 ` Jakub Kicinski
0 siblings, 1 reply; 2+ messages in thread
From: Shi Hao @ 2025-11-27 10:31 UTC (permalink / raw)
To: kuba
Cc: davem, pabeni, dsahern, edumazet, horms, netdev,
linux-security-module, linux-kernel, steffen.klassert, herbert,
i.shihao.999, pablo
Correct misspelled typos in comments
- informations -> information
- wont -> won't
- upto -> up to
- destionation -> destination
Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
---
net/ipv6/ah6.c | 2 +-
net/ipv6/calipso.c | 4 ++--
net/ipv6/ip6_fib.c | 2 +-
net/ipv6/ip6_vti.c | 2 +-
net/ipv6/netfilter/nf_conntrack_reasm.c | 2 +-
net/ipv6/reassembly.c | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c
index 95372e0f1d21..92e1cf90a6be 100644
--- a/net/ipv6/ah6.c
+++ b/net/ipv6/ah6.c
@@ -169,7 +169,7 @@ static bool zero_out_mutable_opts(struct ipv6_opt_hdr *opthdr)
/**
* ipv6_rearrange_destopt - rearrange IPv6 destination options header
* @iph: IPv6 header
- * @destopt: destionation options header
+ * @destopt: destination options header
*/
static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt)
{
diff --git a/net/ipv6/calipso.c b/net/ipv6/calipso.c
index df1986973430..220dd432c5bd 100644
--- a/net/ipv6/calipso.c
+++ b/net/ipv6/calipso.c
@@ -43,7 +43,7 @@
#define CALIPSO_HDR_LEN (2 + 8)
/* Maximum size of the calipso option including
- * the two-byte TLV header and upto 3 bytes of
+ * the two-byte TLV header and up to 3 bytes of
* leading pad and 7 bytes of trailing pad.
*/
#define CALIPSO_OPT_LEN_MAX_WITH_PAD (3 + CALIPSO_OPT_LEN_MAX + 7)
@@ -713,7 +713,7 @@ static int calipso_pad_write(unsigned char *buf, unsigned int offset,
*
* Description:
* Generate a CALIPSO option using the DOI definition and security attributes
- * passed to the function. This also generates upto three bytes of leading
+ * passed to the function. This also generates up to three bytes of leading
* padding that ensures that the option is 4n + 2 aligned. It returns the
* number of bytes written (including any initial padding).
*/
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c
index 02c16909f618..19eefd48e744 100644
--- a/net/ipv6/ip6_fib.c
+++ b/net/ipv6/ip6_fib.c
@@ -1010,7 +1010,7 @@ static int fib6_nh_drop_pcpu_from(struct fib6_nh *nh, void *_arg)
static void fib6_drop_pcpu_from(struct fib6_info *f6i)
{
- /* Make sure rt6_make_pcpu_route() wont add other percpu routes
+ /* Make sure rt6_make_pcpu_route() won't add other percpu routes
* while we are cleaning them here.
*/
f6i->fib6_destroying = 1;
diff --git a/net/ipv6/ip6_vti.c b/net/ipv6/ip6_vti.c
index ad5290be4dd6..cc8d0b142224 100644
--- a/net/ipv6/ip6_vti.c
+++ b/net/ipv6/ip6_vti.c
@@ -435,7 +435,7 @@ static bool vti6_state_check(const struct xfrm_state *x,
* vti6_xmit - send a packet
* @skb: the outgoing socket buffer
* @dev: the outgoing tunnel device
- * @fl: the flow informations for the xfrm_lookup
+ * @fl: the flow information for the xfrm_lookup
**/
static int
vti6_xmit(struct sk_buff *skb, struct net_device *dev, struct flowi *fl)
diff --git a/net/ipv6/netfilter/nf_conntrack_reasm.c b/net/ipv6/netfilter/nf_conntrack_reasm.c
index 64ab23ff559b..fcb17308c7e7 100644
--- a/net/ipv6/netfilter/nf_conntrack_reasm.c
+++ b/net/ipv6/netfilter/nf_conntrack_reasm.c
@@ -251,7 +251,7 @@ static int nf_ct_frag6_queue(struct frag_queue *fq, struct sk_buff *skb,
/* Note : skb->rbnode and skb->dev share the same location. */
dev = skb->dev;
- /* Makes sure compiler wont do silly aliasing games */
+ /* Makes sure compiler won't do silly aliasing games */
barrier();
prev = fq->q.fragments_tail;
diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c
index 25ec8001898d..13540779a2c7 100644
--- a/net/ipv6/reassembly.c
+++ b/net/ipv6/reassembly.c
@@ -187,7 +187,7 @@ static int ip6_frag_queue(struct net *net,
/* Note : skb->rbnode and skb->dev share the same location. */
dev = skb->dev;
- /* Makes sure compiler wont do silly aliasing games */
+ /* Makes sure compiler won't do silly aliasing games */
barrier();
prev_tail = fq->q.fragments_tail;
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: ipv6: fix spelling typos in comments
2025-11-27 10:31 [PATCH] net: ipv6: fix spelling typos in comments Shi Hao
@ 2025-11-29 3:55 ` Jakub Kicinski
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2025-11-29 3:55 UTC (permalink / raw)
To: Shi Hao
Cc: davem, pabeni, dsahern, edumazet, horms, netdev,
linux-security-module, linux-kernel, steffen.klassert, herbert,
pablo
On Thu, 27 Nov 2025 16:01:33 +0530 Shi Hao wrote:
> Correct misspelled typos in comments
>
> - informations -> information
> - wont -> won't
> - upto -> up to
> - destionation -> destination
Your changes does not apply, please rebase on netdev/net-next/main
--
pw-bot: cr
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-29 3:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-27 10:31 [PATCH] net: ipv6: fix spelling typos in comments Shi Hao
2025-11-29 3:55 ` Jakub Kicinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).