[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <169822682383.18837.12141561827417952269.git-patchwork-notify@kernel.org>
Date: Wed, 25 Oct 2023 09:40:23 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Bragatheswaran Manickavel <bragathemanick0908@...il.com>
Cc: shannon.nelson@....com, brett.creeley@....com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] amd/pds_core: core: No need for Null pointer check before
kfree
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@...emloft.net>:
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
Powered by blists - more mailing lists