Since debugfs_create_dir() returns ERR_PTR and never return NULL, So use IS_ERR() to check it instead of checking NULL. Jinjie Ruan (3): wifi: iwlwifi: mei: Fix the NULL vs IS_ERR() bug for debugfs_create_dir() mwifiex: debugfs: Fix the NULL vs IS_ERR() bug for debugfs_create_dir() wifi: mt76: Fix the NULL vs IS_ERR() bug for debugfs_create_dir() drivers/net/wireless/intel/iwlwifi/mei/main.c | 2 +- drivers/net/wireless/marvell/mwifiex/debugfs.c | 2 +- drivers/net/wireless/mediatek/mt76/debugfs.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 2.34.1