diff options
author | Tomas Henzl <thenzl@redhat.com> | 2019-05-29 18:00:40 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-18 19:46:25 -0400 |
commit | ea14e46240fee24f125610d3038183d68ae75b80 (patch) | |
tree | 10b22dc25b517806542ecfae3f9f33c76053afba /drivers/scsi/megaraid/megaraid_sas_fp.c | |
parent | deff37063351ddf5defe1027b172548fdfbdcbe6 (diff) | |
download | linux-stable-ea14e46240fee24f125610d3038183d68ae75b80.tar.gz linux-stable-ea14e46240fee24f125610d3038183d68ae75b80.tar.bz2 linux-stable-ea14e46240fee24f125610d3038183d68ae75b80.zip |
scsi: megaraid_sas: use octal permissions instead of constants
Checkpatch emits a warning when using symbolic permissions. Use octal
permissions instead. No functional change.
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas_fp.c')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fp.c b/drivers/scsi/megaraid/megaraid_sas_fp.c index 9ac357619b28..d296255a4f12 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fp.c +++ b/drivers/scsi/megaraid/megaraid_sas_fp.c @@ -58,7 +58,7 @@ #define LB_PENDING_CMDS_DEFAULT 4 static unsigned int lb_pending_cmds = LB_PENDING_CMDS_DEFAULT; -module_param(lb_pending_cmds, int, S_IRUGO); +module_param(lb_pending_cmds, int, 0444); MODULE_PARM_DESC(lb_pending_cmds, "Change raid-1 load balancing outstanding " "threshold. Valid Values are 1-128. Default: 4"); |