OpenCloudOS-Kernel/drivers/ntb/hw/amd
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
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ntb_hw_amd.c ntb: hw: amd: Fix debugfs_create_dir error checking 2023-07-08 13:55:44 -04:00
ntb_hw_amd.h NTB: send DB event when driver is loaded or un-loaded 2020-03-13 10:04:20 -04:00