OpenCloudOS-Kernel/drivers/ntb
Anup Sharma bff6efc54b ntb: hw: amd: Fix debugfs_create_dir error checking
The debugfs_create_dir function returns ERR_PTR in case of error, and the
only correct way to check if an error occurred is 'IS_ERR' inline function.
This patch will replace the null-comparison with IS_ERR.

Signed-off-by: Anup Sharma <anupnewsmail@gmail.com>
Suggested-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
2023-07-08 13:55:44 -04:00
..
hw ntb: hw: amd: Fix debugfs_create_dir error checking 2023-07-08 13:55:44 -04:00
test NTB: ntb_tool: Add check for devm_kcalloc 2023-07-08 10:51:56 -04:00
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
core.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
msi.c NTB/msi: Use struct_size() helper in devm_kzalloc() 2022-01-23 16:15:15 -05:00
ntb_transport.c NTB: ntb_transport: fix possible memory leak while device_register() fails 2023-07-08 10:51:55 -04:00