Messages in this thread | | | Subject | Re: [PATCH] dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 05 Apr 2022 10:50:11 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Paolo Abeni <pabeni@redhat.com>:
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 <linmq006@gmail.com> > --- > 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
| |