Re: [PATCH -next] net: cpsw: add missing of_node_put() in cpsw_probe_dt()

From: Yang Yingliang
Date: Wed Apr 27 2022 - 21:30:41 EST



On 2022/4/28 8:52, Jakub Kicinski wrote:
On Tue, 26 Apr 2022 20:47:57 +0800 Yang Yingliang wrote:
Subject: [PATCH -next] net: cpsw: add missing of_node_put() in cpsw_probe_dt()
Why next? The commit under Fixes is in Linus's tree.

Please sort this out and repost.
It supposed to net, I write a wrong title, I will resend it.

Thanks,
Yang

If devm_kcalloc() fails, 'tmp_node' should be put in cpsw_probe_dt().

Fixes: ed3525eda4c4 ("net: ethernet: ti: introduce cpsw switchdev based driver part 1 - dual-emac")
Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
.