[PATCH] net: ipv6: Fix spelling mistake

Chenguang Zhao posted 1 patch 3 months, 1 week ago
net/ipv6/calipso.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] net: ipv6: Fix spelling mistake
Posted by Chenguang Zhao 3 months, 1 week ago
change 'Maximium' to 'Maximum'

Signed-off-by: Chenguang Zhao <zhaochenguang@kylinos.cn>
---
 net/ipv6/calipso.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/ipv6/calipso.c b/net/ipv6/calipso.c
index 62618a058b8f..39da428f632e 100644
--- a/net/ipv6/calipso.c
+++ b/net/ipv6/calipso.c
@@ -32,7 +32,7 @@
 #include <linux/unaligned.h>
 #include <linux/crc-ccitt.h>
 
-/* Maximium size of the calipso option including
+/* Maximum size of the calipso option including
  * the two-byte TLV header.
  */
 #define CALIPSO_OPT_LEN_MAX (2 + 252)
@@ -42,13 +42,13 @@
  */
 #define CALIPSO_HDR_LEN (2 + 8)
 
-/* Maximium size of the calipso option including
+/* Maximum size of the calipso option including
  * the two-byte TLV header and upto 3 bytes of
  * leading pad and 7 bytes of trailing pad.
  */
 #define CALIPSO_OPT_LEN_MAX_WITH_PAD (3 + CALIPSO_OPT_LEN_MAX + 7)
 
- /* Maximium size of u32 aligned buffer required to hold calipso
+ /* Maximum size of u32 aligned buffer required to hold calipso
   * option.  Max of 3 initial pad bytes starting from buffer + 3.
   * i.e. the worst case is when the previous tlv finishes on 4n + 3.
   */
-- 
2.25.1
Re: [PATCH] net: ipv6: Fix spelling mistake
Posted by Paul Moore 3 months, 1 week ago
On Wed, Jul 2, 2025 at 1:59 AM Chenguang Zhao <zhaochenguang@kylinos.cn> wrote:
>
> change 'Maximium' to 'Maximum'
>
> Signed-off-by: Chenguang Zhao <zhaochenguang@kylinos.cn>
> ---
>  net/ipv6/calipso.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Acked-by: Paul Moore <paul@paul-moore.com>

-- 
paul-moore.com
Re: [PATCH] net: ipv6: Fix spelling mistake
Posted by Simon Horman 3 months, 1 week ago
On Wed, Jul 02, 2025 at 01:58:20PM +0800, Chenguang Zhao wrote:
> change 'Maximium' to 'Maximum'
> 
> Signed-off-by: Chenguang Zhao <zhaochenguang@kylinos.cn>

Thanks, I see that with this change codespell doesn't flag
any spelling errors in this file.

Reviewed-by: Simon Horman <horms@kernel.org>