diff options
author | Yang Ruibin <[email protected]> | 2024-08-21 03:34:40 -0400 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-09-01 20:43:40 -0700 |
commit | 38676d9e33133c0c39951b812b19cc5b9ff1978a (patch) | |
tree | 02aba9b412c63825fe3eb3f282448d44b44e5eee /lib/crypto/mpi/mpi-sub-ui.c | |
parent | fb54ea1ee84534cab6a15515c73a0811bdcbc973 (diff) |
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]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions