aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorJinjie Ruan <[email protected]>2023-08-31 12:39:27 +0000
committerJon Mason <[email protected]>2024-09-20 14:50:38 +0000
commite229897d373a87ee09ec5cc4ecd4bb2f895fc16b (patch)
treebcc4f0eb7d72d44120de84ec998cf6e767e003cb /lib/debugobjects.c
parentLinux 6.11 (diff)
downloadkernel-e229897d373a87ee09ec5cc4ecd4bb2f895fc16b.tar.gz
kernel-e229897d373a87ee09ec5cc4ecd4bb2f895fc16b.zip
ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
The debugfs_create_dir() function returns error pointers. It never returns NULL. So use IS_ERR() to check it. Fixes: e26a5843f7f5 ("NTB: Split ntb_hw_intel and ntb_transport drivers") Signed-off-by: Jinjie Ruan <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions