Searched hist:eca4c0ee (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/opp/ |
H A D | debugfs.c | eca4c0ee Tue Feb 07 22:00:37 CST 2023 Qi Zheng <zhengqi.arch@bytedance.com> OPP: fix error checking in opp_migrate_dentry()
Since commit ff9fb72bc077 ("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: ff9fb72bc077 ("debugfs: return error values, not NULL") Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|