summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorLi Youhong <liyouhong@kylinos.cn>2026-09-04 16:07:58 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-09-10 12:22:01 +0200
commitaf406abfecad2f48d8f1fc646d3994f0982bac62 (patch)
treefc76a70989b71f1f556ca5cf084a0afe034e09fc /scripts/basic
parentdff39930ad5e53d202bfdfb14687d1d2fd753b4d (diff)
downloadlinux-af406abfecad2f48d8f1fc646d3994f0982bac62.tar.gz
linux-af406abfecad2f48d8f1fc646d3994f0982bac62.zip
net: sun4i-emac: fix missing of_node_put() for phy_node
of_parse_phandle() returns a node pointer with an elevated refcount. Add the missing of_node_put() on the probe error path after register_netdev() fails and in emac_remove(). Fixes: 492205050d77 ("net: Add EMAC ethernet driver found on Allwinner A10 SoC's") Signed-off-by: Li Youhong <liyouhong@kylinos.cn> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260904080758.2432748-1-dayou5941@163.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions