linux/drivers/opp
Qi Zheng bf1b79d57e 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-10 09:39:15 +01:00
..
core.c opp: Fix error check in dev_pm_opp_attach_genpd() 2022-08-17 14:24:01 +02:00
cpu.c
debugfs.c OPP: fix error checking in opp_migrate_dentry() 2023-03-10 09:39:15 +01:00
Kconfig
Makefile
of.c OPP: call of_node_put() on error path in _bandwidth_supported() 2022-06-09 10:23:13 +02:00
opp.h opp: Expose of-node's name in debugfs 2022-04-13 20:59:11 +02:00
ti-opp-supply.c