diff options
author | Michael Schmitz <schmitzmic@gmail.com> | 2022-07-13 09:49:13 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-07-14 05:18:26 +0200 |
commit | f712e24c0b2e638481b439ee2f1f33d6938a6cb9 (patch) | |
tree | 5da1e9e5dc8f803206c74c29bcda2085a7206ca6 /drivers/scsi/fnic | |
parent | scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES (diff) | |
download | linux-f712e24c0b2e638481b439ee2f1f33d6938a6cb9.tar.xz linux-f712e24c0b2e638481b439ee2f1f33d6938a6cb9.zip |
scsi: gvp11.c: Fix DMA mask calculation error
DMA masks given in the Zorro ID table don't contain the 2 byte alignment
quirk seen in the GVP11_XFER_MASK macro from gvp11.h so no need to account
for that.
DMA masks passed to dma_set_mask_and_coherent() must be 64 bit, add the
missing cast in the TO_DMA_MASK macro used to convert driver DMA masks to
DMA API masks.
Link: https://lore.kernel.org/r/6d1d88ee-1cf6-c735-1e6d-bafd2096e322@gmail.com
Link: https://lore.kernel.org/r/20220713074913.7873-1-schmitzmic@gmail.com
Fixes: 158da6bcae7a ("scsi: gvp11: Convert m68k WD33C93 drivers to DMA API")
CC: linux-scsi@vger.kernel.org
Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fnic')
0 files changed, 0 insertions, 0 deletions