Commit 587b810d authored by Yang Yingliang's avatar Yang Yingliang Committed by Zheng Zengkai
Browse files

net: fec: add missing of_node_put() in fec_enet_init_stop_mode()

stable inclusion
from stable-v5.10.114
commit c33d717e064afb4ea8ef75a31a8877814d33abbe
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5IY1V

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c33d717e064afb4ea8ef75a31a8877814d33abbe



--------------------------------

[ Upstream commit d2b52ec0 ]

Put device node in error path in fec_enet_init_stop_mode().

Fixes: 8a448bf8 ("net: ethernet: fec: move GPR register offset and bit into DT")
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220426125231.375688-1-yangyingliang@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent e19ac12f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment