summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2023-08-31 15:39:27 +0300
committerJon Mason <jdmason@kudzu.us>2024-09-20 17:50:38 +0300
commite229897d373a87ee09ec5cc4ecd4bb2f895fc16b (patch)
treebcc4f0eb7d72d44120de84ec998cf6e767e003cb /scripts/gdb/linux/utils.py
parent98f7e32f20d28ec452afb208f9cffc08448a2652 (diff)
downloadlinux-e229897d373a87ee09ec5cc4ecd4bb2f895fc16b.tar.xz
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 <ruanjinjie@huawei.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions