[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165363541310.15180.16359315108898777386.git-patchwork-notify@kernel.org>
Date: Fri, 27 May 2022 07:10:13 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Miaoqian Lin <linmq006@...il.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, vladimir.oltean@....com, leon@...nel.org,
grygorii.strashko@...com, vigneshr@...com, s-vadapalli@...com,
wangqing@...o.com, chi.minghao@....com.cn, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 26 May 2022 12:52:08 +0400 you wrote:
> of_get_child_by_name() returns a node pointer with refcount
> incremented, we should use of_node_put() on it when not need anymore.
> am65_cpsw_init_cpts() and am65_cpsw_nuss_probe() don't release
> the refcount in error case.
> Add missing of_node_put() to avoid refcount leak.
>
> Fixes: b1f66a5bee07 ("net: ethernet: ti: am65-cpsw-nuss: enable packet timestamping support")
> Fixes: 93a76530316a ("net: ethernet: ti: introduce am65x/j721e gigabit eth subsystem driver")
> Signed-off-by: Miaoqian Lin <linmq006@...il.com>
>
> [...]
Here is the summary with links:
- net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks
https://git.kernel.org/netdev/net/c/5dd89d2fc438
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