Messages in this thread | | | Subject | Re: [PATCH -next v2] tls: rx: Fix unsigned comparison with less than zero | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 29 Jul 2022 05:00:15 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>:
On Thu, 28 Jul 2022 11:10:19 +0800 you wrote: > The return from the call to tls_rx_msg_size() is int, it can be > a negative error code, however this is being assigned to an > unsigned long variable 'sz', so making 'sz' an int. > > Eliminate the following coccicheck warning: > ./net/tls/tls_strp.c:211:6-8: WARNING: Unsigned expression compared with zero: sz < 0 > > [...]
Here is the summary with links: - [-next,v2] tls: rx: Fix unsigned comparison with less than zero https://git.kernel.org/netdev/net-next/c/8fd1e1517792
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |