android_kernel_motorola_sm6375/drivers/ntb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jinjie Ruan 4b2fbba4e4 ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
[ Upstream commit e229897d373a87ee09ec5cc4ecd4bb2f895fc16b ]

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: Sasha Levin <sashal@kernel.org>
2024-11-08 16:20:32 +01:00
..
hw ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir() 2024-11-08 16:20:32 +01:00
test NTB: ntb_tool: Add check for devm_kcalloc 2023-07-27 08:37:32 +02:00
core.c
Kconfig
Makefile
msi.c
ntb_transport.c ntb: Fix calculation ntb_transport_tx_free_entry() 2023-09-23 10:59:55 +02:00