Subject: Re: [PATCH 2/2] net: thunderbolt: Fix typo in comment

From: Simon Horman <[email-masked]>
Date: Tue, 4 Apr 2023 21:25:14 +0200

On Tue, Apr 04, 2023 at 08:36:36AM +0300, Mika Westerberg wrote:
> Should be UDP not UPD. No functional changes.
> 
> Signed-off-by: Mika Westerberg <[email-masked]>

Looks good,

Reviewed-by: Simon Horman <[email-masked]>

codespell tells me you also may want to consider:

$ codespell drivers/net/thunderbolt/main.c
drivers/net/thunderbolt/main.c:151: blongs ==> belongs

> ---
>  drivers/net/thunderbolt/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/thunderbolt/main.c b/drivers/net/thunderbolt/main.c
> index 6a43ced74881..0ce501e34f3f 100644
> --- a/drivers/net/thunderbolt/main.c
> +++ b/drivers/net/thunderbolt/main.c
> @@ -1030,7 +1030,7 @@ static bool tbnet_xmit_csum_and_map(struct tbnet *net, struct sk_buff *skb,
>  	/* Data points on the beginning of packet.
>  	 * Check is the checksum absolute place in the packet.
>  	 * ipcso will update IP checksum.
> -	 * tucso will update TCP/UPD checksum.
> +	 * tucso will update TCP/UDP checksum.
>  	 */
>  	if (protocol == htons(ETH_P_IP)) {
>  		__sum16 *ipcso = dest + ((void *)&(ip_hdr(skb)->check) - data);
> -- 
> 2.39.2
>