Re: [PATCH 1/3] megaraid_sas: make max_sectors visible in sys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux