On Wed, May 29, 2019 at 9:30 PM Tomas Henzl <thenzl@xxxxxxxxxx> wrote: > > Support is easier with all driver parameters visible in sysfs. > > Signed-off-by: Tomas Henzl <thenzl@xxxxxxxxxx> Acked-by: Sumit Saxena <sumit.saxena@xxxxxxxxxxxx> > --- > drivers/scsi/megaraid/megaraid_sas_base.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c > index 3a9128ed3..3752daab0 100644 > --- a/drivers/scsi/megaraid/megaraid_sas_base.c > +++ b/drivers/scsi/megaraid/megaraid_sas_base.c > @@ -64,7 +64,7 @@ > * Will be set in megasas_init_mfi if user does not provide > */ > static unsigned int max_sectors; > -module_param_named(max_sectors, max_sectors, int, 0); > +module_param_named(max_sectors, max_sectors, int, S_IRUGO); > MODULE_PARM_DESC(max_sectors, > "Maximum number of sectors per IO command"); > > -- > 2.20.1 >