I find that the developers often just specified the numeric value when calling a macro which is defined with a parameter for access permission. As we know, these numeric value for access permission have had the corresponding macro, and that using macro can improve the robustness and readability of the code, thus, I suggest replacing the numeric parameter with the macro.
Signed-off-by: Chuansheng Liu <[email protected]> Signed-off-by: Baole Ni <[email protected]> --- drivers/scsi/am53c974.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/am53c974.c b/drivers/scsi/am53c974.c index beea30e..dcf69ea 100644 --- a/drivers/scsi/am53c974.c +++ b/drivers/scsi/am53c974.c @@ -572,10 +572,10 @@ MODULE_LICENSE("GPL"); MODULE_VERSION(DRV_MODULE_VERSION); MODULE_ALIAS("tmscsim"); -module_param(am53c974_debug, bool, 0644); +module_param(am53c974_debug, bool, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); MODULE_PARM_DESC(am53c974_debug, "Enable debugging"); -module_param(am53c974_fenab, bool, 0444); +module_param(am53c974_fenab, bool, S_IRUSR | S_IRGRP | S_IROTH); MODULE_PARM_DESC(am53c974_fenab, "Enable 24-bit DMA transfer sizes"); module_init(am53c974_module_init); -- 2.9.2

