aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/sd.h
diff options
context:
space:
mode:
authorSreekanth Reddy2022-09-13 17:35:38 +0530
committerMartin K. Petersen2022-09-15 22:24:28 -0400
commite0e0747de0ea3dd87cdbb0393311e17471a9baf1 (patch)
treedc564da0032ca00ff8d3de336054d32768d881d0 /drivers/scsi/sd.h
parent601be20fc6a1b762044d2398befffd6bf236cebf (diff)
scsi: mpt3sas: Fix return value check of dma_get_required_mask()
Fix the incorrect return value check of dma_get_required_mask(). Due to this incorrect check, the driver was always setting the DMA mask to 63 bit. Link: https://lore.kernel.org/r/20220913120538.18759-2-sreekanth.reddy@broadcom.com Fixes: ba27c5cf286d ("scsi: mpt3sas: Don't change the DMA coherent mask after allocations") Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sd.h')
0 files changed, 0 insertions, 0 deletions