Re: [PATCH V2] sfc: ef10: Fix assigning negative value to unsigned variable

From: patchwork-bot+netdevbpf
Date: Tue Apr 12 2022 - 00:01:33 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 11 Apr 2022 09:32:37 +0800 you wrote:
> fix warning reported by smatch:
> 251 drivers/net/ethernet/sfc/ef10.c:2259 efx_ef10_tx_tso_desc()
> warn: assigning (-208) to unsigned variable 'ip_tot_len'
>
> Signed-off-by: Haowen Bai <baihaowen@xxxxxxxxx>
> ---
> V1->V2: to assign "0x10000 - EFX_TSO2_MAX_HDRLEN" is the actual
> semantics of the value.
>
> [...]

Here is the summary with links:
- [V2] sfc: ef10: Fix assigning negative value to unsigned variable
https://git.kernel.org/netdev/net-next/c/b8ff3395fbdf

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html