diff options
author | Osama Muhammad <osmtendev@gmail.com> | 2023-05-15 22:29:38 +0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-21 15:38:57 +0200 |
commit | 9f864cf21105c797560695f9fd8882d0b2d4e63c (patch) | |
tree | 579a92332b0c9a50395a1f2a3d53b7b9e393856d /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | 248d9213cf78a23d73bd8c5a6c3cc34b3b487c31 (diff) |
regulator: Fix error checking for debugfs_create_dir
[ Upstream commit 2bf1c45be3b8f3a3f898d0756c1282f09719debd ]
This patch fixes the error checking in core.c in debugfs_create_dir.
The correct way to check if an error occurred is 'IS_ERR' inline function.
Signed-off-by: Osama Muhammad <osmtendev@gmail.com
Suggested-by: Ivan Orlov <ivan.orlov0322@gmail.com
Link: https://lore.kernel.org/r/20230515172938.13338-1-osmtendev@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions