diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_debugfs.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_debugfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c index a80d938fafc9..3c8c91a7609c 100644 --- a/drivers/scsi/lpfc/lpfc_debugfs.c +++ b/drivers/scsi/lpfc/lpfc_debugfs.c | |||
@@ -82,23 +82,23 @@ | |||
82 | * the HBA. X MUST also be a power of 2. | 82 | * the HBA. X MUST also be a power of 2. |
83 | */ | 83 | */ |
84 | static int lpfc_debugfs_enable = 1; | 84 | static int lpfc_debugfs_enable = 1; |
85 | module_param(lpfc_debugfs_enable, int, 0); | 85 | module_param(lpfc_debugfs_enable, int, S_IRUGO); |
86 | MODULE_PARM_DESC(lpfc_debugfs_enable, "Enable debugfs services"); | 86 | MODULE_PARM_DESC(lpfc_debugfs_enable, "Enable debugfs services"); |
87 | 87 | ||
88 | /* This MUST be a power of 2 */ | 88 | /* This MUST be a power of 2 */ |
89 | static int lpfc_debugfs_max_disc_trc; | 89 | static int lpfc_debugfs_max_disc_trc; |
90 | module_param(lpfc_debugfs_max_disc_trc, int, 0); | 90 | module_param(lpfc_debugfs_max_disc_trc, int, S_IRUGO); |
91 | MODULE_PARM_DESC(lpfc_debugfs_max_disc_trc, | 91 | MODULE_PARM_DESC(lpfc_debugfs_max_disc_trc, |
92 | "Set debugfs discovery trace depth"); | 92 | "Set debugfs discovery trace depth"); |
93 | 93 | ||
94 | /* This MUST be a power of 2 */ | 94 | /* This MUST be a power of 2 */ |
95 | static int lpfc_debugfs_max_slow_ring_trc; | 95 | static int lpfc_debugfs_max_slow_ring_trc; |
96 | module_param(lpfc_debugfs_max_slow_ring_trc, int, 0); | 96 | module_param(lpfc_debugfs_max_slow_ring_trc, int, S_IRUGO); |
97 | MODULE_PARM_DESC(lpfc_debugfs_max_slow_ring_trc, | 97 | MODULE_PARM_DESC(lpfc_debugfs_max_slow_ring_trc, |
98 | "Set debugfs slow ring trace depth"); | 98 | "Set debugfs slow ring trace depth"); |
99 | 99 | ||
100 | static int lpfc_debugfs_mask_disc_trc; | 100 | static int lpfc_debugfs_mask_disc_trc; |
101 | module_param(lpfc_debugfs_mask_disc_trc, int, 0); | 101 | module_param(lpfc_debugfs_mask_disc_trc, int, S_IRUGO); |
102 | MODULE_PARM_DESC(lpfc_debugfs_mask_disc_trc, | 102 | MODULE_PARM_DESC(lpfc_debugfs_mask_disc_trc, |
103 | "Set debugfs discovery trace mask"); | 103 | "Set debugfs discovery trace mask"); |
104 | 104 | ||