diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2022-02-24 14:51:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-13 21:59:07 +0300 |
commit | dd111d335cabaddad86075ca5ca3376cd5d1151c (patch) | |
tree | 670b67f3d3d581bb8d847e58b68c24b38b49057e /.gitignore | |
parent | f05a0d8de2ea49af36821a20b0b501e20ced937e (diff) | |
download | linux-dd111d335cabaddad86075ca5ca3376cd5d1151c.tar.xz |
scsi: hisi_sas: Limit users changing debugfs BIST count value
[ Upstream commit 286ce4c65fbdf5eb9d4d5f4e4997c4e32bf1b073 ]
Add a file operation for "cnt" file under bist directory, so users can only
read "cnt" or clear "cnt" to zero, but cannot randomly modify.
Link: https://lore.kernel.org/r/1645703489-87194-6-git-send-email-john.garry@huawei.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Qi Liu <liuqi115@huawei.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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions