]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:06:11 +0000 (14:06 +0200)
commit4cad7db4064e00093ace88b7be2cafd0a91673b3
treeeb4b991f69aeab445b886f7d2bbf981341f95b87
parent15f87b50750d92d0c6639d2f510330d5f183e4da
scsi: hisi_sas: Change permission of parameter prot_mask

[ Upstream commit c4e070457a93705e56ed06b3910d9e5fe56d3be3 ]

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: d6a9000b81be ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c