commit | ebbbe23fdf6070e31509638df3321688358cc211 | [log] [tgz] |
---|---|---|
author | Liang He <windhl@126.com> | Wed Jul 20 21:10:03 2022 +0800 |
committer | Jakub Kicinski <kuba@kernel.org> | Thu Jul 21 19:04:19 2022 -0700 |
tree | 04ec77f7b582bfdb68e3b14404dea64f230308d9 | |
parent | 27161db0904ee48e59140aa8d0835939a666c1f1 [diff] |
net: sungem_phy: Add of_node_put() for reference returned by of_get_parent() In bcm5421_init(), we should call of_node_put() for the reference returned by of_get_parent() which has increased the refcount. Fixes: 3c326fe9cb7a ("[PATCH] ppc64: Add new PHY to sungem") Signed-off-by: Liang He <windhl@126.com> Link: https://lore.kernel.org/r/20220720131003.1287426-1-windhl@126.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>