diff options
author | 2022-09-13 17:35:38 +0530 | |
---|---|---|
committer | 2022-09-15 22:24:28 -0400 | |
commit | e0e0747de0ea3dd87cdbb0393311e17471a9baf1 (patch) | |
tree | dc564da0032ca00ff8d3de336054d32768d881d0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts() (diff) | |
download | wireguard-linux-e0e0747de0ea3dd87cdbb0393311e17471a9baf1.tar.xz wireguard-linux-e0e0747de0ea3dd87cdbb0393311e17471a9baf1.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions