Re: [PATCH][next] netdevsim: Fix unsigned being compared to less than zero
From: patchwork-bot+netdevbpf
Date: Thu Jun 03 2021 - 18:40:10 EST
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Thu, 3 Jun 2021 22:56:57 +0100 you wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The comparison of len < 0 is always false because len is a size_t. Fix
> this by making len a ssize_t instead.
>
> Addresses-Coverity: ("Unsigned compared against 0")
> Fixes: d395381909a3 ("netdevsim: Add max_vfs to bus_dev")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- [next] netdevsim: Fix unsigned being compared to less than zero
https://git.kernel.org/netdev/net-next/c/ebbf5fcb94a7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html