Commit 755d83e2 authored by Yang Yingliang's avatar Yang Yingliang Committed by sanglipeng
Browse files

net: ll_temac: Switch to use dev_err_probe() helper

stable inclusion
from stable-v5.10.190
commit 20fe059c1d47bdb2603606cd909e37bf8066dfe2
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I928UI

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



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

[ Upstream commit 75ae8c28 ]

dev_err() can be replace with dev_err_probe() which will check if error
code is -EPROBE_DEFER.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: ef45e840 ("net: ll_temac: fix error checking of irq_of_parse_and_map()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 4b35afba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment