linux-stable/drivers/ntb
Jinjie Ruan e229897d37 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>
2024-09-20 10:50:38 -04:00
..
hw ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir() 2024-09-20 10:50:38 -04:00
test NTB: ntb_tool: Switch to memdup_user_nul() helper 2023-08-18 09:50:06 -04:00
core.c NTB: fix possible name leak in ntb_register_device() 2024-02-16 16:13:38 +05:30
Kconfig New feature to add support for NTB virtual MSI interrupts, the ability 2019-07-21 09:46:59 -07:00
Makefile New feature to add support for NTB virtual MSI interrupts, the ability 2019-07-21 09:46:59 -07:00
msi.c NTB/msi: Use struct_size() helper in devm_kzalloc() 2022-01-23 16:15:15 -05:00
ntb_transport.c driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00