Re: [PATCH] amd/pds_core: core: No need for Null pointer check before kfree

From: patchwork-bot+netdevbpf
Date: Wed Oct 25 2023 - 05:40:32 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Tue, 24 Oct 2023 23:50:51 +0530 you wrote:
> kfree()/vfree() internally perform NULL check on the
> pointer handed to it and take no action if it indeed is
> NULL. Hence there is no need for a pre-check of the memory
> pointer before handing it to kfree()/vfree().
>
> Issue reported by ifnullfree.cocci Coccinelle semantic
> patch script.
>
> [...]

Here is the summary with links:
- amd/pds_core: core: No need for Null pointer check before kfree
https://git.kernel.org/netdev/net-next/c/d0110443cf4a

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