]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: Change permission of parameter prot_mask
authorXiang Chen <chenxiang66@hisilicon.com>
Thu, 24 Feb 2022 11:51:24 +0000 (19:51 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 28 Feb 2022 02:46:40 +0000 (21:46 -0500)
commitd1b35d5f52518815db37fca5ba79c115036270fd
treeb6a399f7ab1b579c8b5c64047d1066f21cc0ba52
parent13cc7b71b6b99d2035fd227d0817965a18979fba
scsi: hisi_sas: Change permission of parameter prot_mask

Currently the permission of parameter prot_mask is 0x0, which means that
the member does not appear in sysfs. Change it as other module parameters
to 0444 for world-readable.

[mkp: s/v3/v2/]

Link: https://lore.kernel.org/r/1645703489-87194-2-git-send-email-john.garry@huawei.com
Fixes: e474b18e2f82 ("scsi: hisi_sas: Add support for DIF feature for v2 hw")
Reported-by: Yihang Li <liyihang6@hisilicon.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c