* Re: [PATCH] dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
[not found] <[email protected]>
@ 2022-04-05 10:50 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; only message in thread
From: patchwork-bot+netdevbpf @ 2022-04-05 10:50 UTC (permalink / raw)
To: Miaoqian Lin; +Cc: yangbo.lu, davem, kuba, netdev, linux-kernel
Hello:
This patch was applied to netdev/net.git (master)
by Paolo Abeni <[email protected]>:
On Mon, 4 Apr 2022 12:53:36 +0000 you wrote:
> This node pointer is returned by of_find_compatible_node() with
> refcount incremented. Calling of_node_put() to aovid the refcount leak.
>
> Fixes: d346c9e86d86 ("dpaa2-ptp: reuse ptp_qoriq driver")
> Signed-off-by: Miaoqian Lin <[email protected]>
> ---
> drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Here is the summary with links:
- dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
https://git.kernel.org/netdev/net/c/2b04bd4f03bb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] only message in thread