diff options
author | Qi Zheng <zhengqi.arch@bytedance.com> | 2023-02-08 07:00:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-16 15:48:53 +0300 |
commit | 9f467f6375afd3c7667dbabcfff35c22961e1c0b (patch) | |
tree | f536b3897b5d23eee9b528d482e66f0b69288c06 /drivers/hv | |
parent | d3002468cb5d5da11e22145c9af32facd5c34352 (diff) | |
download | linux-9f467f6375afd3c7667dbabcfff35c22961e1c0b.tar.xz |
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>
Link: https://lore.kernel.org/r/20230208040037.60305-1-zhengqi.arch@bytedance.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions