diff options
author | Daniil Lunev <dlunev@chromium.org> | 2022-07-28 03:18:21 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-08-02 01:38:06 +0200 |
commit | a19066788d875731a01ee7fa189b2202f0120036 (patch) | |
tree | b3ab885c016820003b93a8dc8af086be703499c9 /include | |
parent | scsi: target: core: De-RCU of se_lun and se_lun acl (diff) | |
download | linux-a19066788d875731a01ee7fa189b2202f0120036.tar.xz linux-a19066788d875731a01ee7fa189b2202f0120036.zip |
scsi: ufs: ufs-pci: Correct check for RESET DSM
dsm_fns is a bitmap, and it is 0-indexed according to the check in
__intel_dsm function. But common initialization was checking it as if it
was 1-indexed. This patch corrects the discrepancy. This change won't break
any existing calls to the function, since before the change both bits 0 and
1 were checked and needed to be set.
Link: https://lore.kernel.org/r/20220728111748.v3.1.I22460c4f4a9ccf2c96c3f9bb392b409926d80b2f@changeid
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Daniil Lunev <dlunev@chromium.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions