Re: [PATCH net] vhost: vringh: Fix copy_to_iter return value check

From: patchwork-bot+netdevbpf

Date: Fri Sep 26 2025 - 20:50:11 EST


Hello:

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

On Thu, 25 Sep 2025 02:04:08 -0400 you wrote:
> The return value of copy_to_iter can't be negative, check whether the
> copied length is equal to the requested length instead of checking for
> negative values.
>
> Cc: zhang jiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/all/20250910091739.2999-1-zhangjiao2@xxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net] vhost: vringh: Fix copy_to_iter return value check
https://git.kernel.org/netdev/net/c/439263376c2c

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