diff options
author | Daniil Lunev <dlunev@chromium.org> | 2022-07-28 11:18:21 +1000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-08-01 19:38:06 -0400 |
commit | a19066788d875731a01ee7fa189b2202f0120036 (patch) | |
tree | b3ab885c016820003b93a8dc8af086be703499c9 /lib/mpi/mpi-bit.c | |
parent | ef4f7e4bf1dc26aaa86cf8e5a13013684139be51 (diff) |
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 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions