linux-stable/drivers/opp
Qi Zheng 4f4c970a05 OPP: fix error checking in opp_migrate_dentry()
[ Upstream commit eca4c0eea5 ]

Since commit ff9fb72bc0 ("debugfs: return error values,
not NULL") changed return value of debugfs_rename() in
error cases from %NULL to %ERR_PTR(-ERROR), we should
also check error values instead of NULL.

Fixes: ff9fb72bc0 ("debugfs: return error values, not NULL")
Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 16:39:26 +01:00
..
core.c opp: Fix error check in dev_pm_opp_attach_genpd() 2022-08-21 15:16:04 +02:00
cpu.c
debugfs.c OPP: fix error checking in opp_migrate_dentry() 2023-03-11 16:39:26 +01:00
Kconfig
Makefile
of.c OPP: call of_node_put() on error path in _bandwidth_supported() 2022-06-09 10:21:18 +02:00
opp.h
ti-opp-supply.c