Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: fix the NULL vs IS_ERR() bug for debugfs_create_dir()
debugfs_create_dir() returns error pointers. It never returns NULL. So use IS_ERR() to check it. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yang Ruibin <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
- Loading branch information