mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 12:00:22 +09:00
[ Upstream commiteca4c0eea5] Since commitff9fb72bc0("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>