Centos-kernel-stream-9/drivers/ntb
CKI Backport Bot 216c84d255 ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
JIRA: https://issues.redhat.com/browse/RHEL-63229
CVE: CVE-2023-52917

commit e229897d373a87ee09ec5cc4ecd4bb2f895fc16b
Author: Jinjie Ruan <ruanjinjie@huawei.com>
Date:   Thu Aug 31 20:39:27 2023 +0800

    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: e26a5843f7 ("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>

Signed-off-by: CKI Backport Bot <cki-ci-bot+cki-gitlab-backport-bot@redhat.com>
2024-10-21 14:08:07 +00:00
..
hw ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir() 2024-10-21 14:08:07 +00:00
test
Kconfig
Makefile
core.c
msi.c
ntb_transport.c