[PATCH net-next] net: microchip: vcap api: Use ERR_CAST() in vcap_decode_rule()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Fri Aug 4 01:10:21 PDT 2023
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem at davemloft.net>:
On Wed, 2 Aug 2023 17:31:56 +0800 you wrote:
> There is a warning reported by coccinelle:
>
> ./drivers/net/ethernet/microchip/vcap/vcap_api.c:2399:9-16: WARNING:
> ERR_CAST can be used with ri
>
> Use ERR_CAST instead of ERR_PTR + PTR_ERR to simplify the
> conversion process.
>
> [...]
Here is the summary with links:
- [net-next] net: microchip: vcap api: Use ERR_CAST() in vcap_decode_rule()
https://git.kernel.org/netdev/net-next/c/58e701264f15
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list