diff options
author | Osama Muhammad <osmtendev@gmail.com> | 2023-05-15 22:29:38 +0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-16 10:15:00 +0900 |
commit | 2bf1c45be3b8f3a3f898d0756c1282f09719debd (patch) | |
tree | c22cd861b74d796b780f59758a01c7e768edf7f9 /security/Makefile | |
parent | d67dada3e2524514b09496b9ee1df22d4507a280 (diff) | |
download | linux-stable-2bf1c45be3b8f3a3f898d0756c1282f09719debd.tar.gz linux-stable-2bf1c45be3b8f3a3f898d0756c1282f09719debd.tar.bz2 linux-stable-2bf1c45be3b8f3a3f898d0756c1282f09719debd.zip |
regulator: Fix error checking for debugfs_create_dir
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
Diffstat (limited to 'security/Makefile')
0 files changed, 0 insertions, 0 deletions