diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-debugfs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-debugfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-debugfs.c index 753f9387aa68..c3df5aa8df91 100644 --- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c +++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c | |||
@@ -58,7 +58,8 @@ | |||
58 | #define DEBUGFS_ADD_BOOL(name, parent, ptr) do { \ | 58 | #define DEBUGFS_ADD_BOOL(name, parent, ptr) do { \ |
59 | dbgfs->dbgfs_##parent##_files.file_##name = \ | 59 | dbgfs->dbgfs_##parent##_files.file_##name = \ |
60 | debugfs_create_bool(#name, 0644, dbgfs->dir_##parent, ptr); \ | 60 | debugfs_create_bool(#name, 0644, dbgfs->dir_##parent, ptr); \ |
61 | if (IS_ERR(dbgfs->dbgfs_##parent##_files.file_##name)) \ | 61 | if (IS_ERR(dbgfs->dbgfs_##parent##_files.file_##name) \ |
62 | || !dbgfs->dbgfs_##parent##_files.file_##name) \ | ||
62 | goto err; \ | 63 | goto err; \ |
63 | } while (0) | 64 | } while (0) |
64 | 65 | ||