diff options
author | Sreekanth Reddy | 2022-09-13 17:35:38 +0530 |
---|---|---|
committer | Martin K. Petersen | 2022-09-15 22:24:28 -0400 |
commit | e0e0747de0ea3dd87cdbb0393311e17471a9baf1 (patch) | |
tree | dc564da0032ca00ff8d3de336054d32768d881d0 /drivers/spi | |
parent | 601be20fc6a1b762044d2398befffd6bf236cebf (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/spi')
0 files changed, 0 insertions, 0 deletions