[PATCH] gtp: Fix a typo error for size

Chu Guangqing posted 1 patch 3 months, 1 week ago
drivers/net/gtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] gtp: Fix a typo error for size
Posted by Chu Guangqing 3 months, 1 week ago
Fix the spelling error of "size".

Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>
---
 drivers/net/gtp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c
index 5cb59d72bc82..4213c3b2d532 100644
--- a/drivers/net/gtp.c
+++ b/drivers/net/gtp.c
@@ -633,7 +633,7 @@ static void gtp1u_build_echo_msg(struct gtp1_header_long *hdr, __u8 msg_type)
 	hdr->tid = 0;
 
 	/* seq, npdu and next should be counted to the length of the GTP packet
-	 * that's why szie of gtp1_header should be subtracted,
+	 * that's why size of gtp1_header should be subtracted,
 	 * not size of gtp1_header_long.
 	 */
 
-- 
2.43.7
Re: [PATCH] gtp: Fix a typo error for size
Posted by Jacob Keller 3 months ago

On 11/2/2025 10:05 PM, Chu Guangqing wrote:
> Fix the spelling error of "size".
> 
> Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>
> ---

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>

>  drivers/net/gtp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c
> index 5cb59d72bc82..4213c3b2d532 100644
> --- a/drivers/net/gtp.c
> +++ b/drivers/net/gtp.c
> @@ -633,7 +633,7 @@ static void gtp1u_build_echo_msg(struct gtp1_header_long *hdr, __u8 msg_type)
>  	hdr->tid = 0;
>  
>  	/* seq, npdu and next should be counted to the length of the GTP packet
> -	 * that's why szie of gtp1_header should be subtracted,
> +	 * that's why size of gtp1_header should be subtracted,
>  	 * not size of gtp1_header_long.
>  	 */
>