Re: [PATCH net-next] net: mana: Use int to check the return value of mana_gd_poll_cq()
From: patchwork-bot+netdevbpf
Date: Fri Apr 23 2021 - 16:30:25 EST
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Thu, 22 Apr 2021 13:08:16 -0700 you wrote:
> mana_gd_poll_cq() may return -1 if an overflow error is detected (this
> should never happen unless there is a bug in the driver or the hardware).
>
> Fix the type of the variable "comp_read" by using int rather than u32.
>
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Fixes: ca9c54d2d6a5 ("net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)")
> Signed-off-by: Dexuan Cui <decui@xxxxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- [net-next] net: mana: Use int to check the return value of mana_gd_poll_cq()
https://git.kernel.org/netdev/net-next/c/d90a94680bc0
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html