Re: [PATCH] caif_virtio: fix wrong pointer check in cfv_probe()

From: patchwork-bot+netdevbpf
Date: Fri Feb 28 2025 - 21:40:12 EST


Hello:

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

On Thu, 27 Feb 2025 23:46:27 +0500 you wrote:
> del_vqs() frees virtqueues, therefore cfv->vq_tx pointer should be checked
> for NULL before calling it, not cfv->vdev. Also the current implementation
> is redundant because the pointer cfv->vdev is dereferenced before it is
> checked for NULL.
>
> Fix this by checking cfv->vq_tx for NULL instead of cfv->vdev before
> calling del_vqs().
>
> [...]

Here is the summary with links:
- caif_virtio: fix wrong pointer check in cfv_probe()
https://git.kernel.org/netdev/net/c/a466fd7e9faf

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