diff options
| author | Thomas Fourier <[email protected]> | 2025-06-17 16:11:11 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-06-23 17:21:59 +0000 |
| commit | c3b214719a87735d4f67333a8ef3c0e31a34837c (patch) | |
| tree | d02d088ee23f334034ef0194c464481526309f43 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | scsi: fnic: Fix missing DMA mapping error in fnic_send_frame() (diff) | |
| download | kernel-c3b214719a87735d4f67333a8ef3c0e31a34837c.tar.gz kernel-c3b214719a87735d4f67333a8ef3c0e31a34837c.zip | |
scsi: qla2xxx: Fix DMA mapping test in qla24xx_get_port_database()
dma_map_XXX() functions return as error values DMA_MAPPING_ERROR which is
often ~0. The error value should be tested with dma_mapping_error() like
it was done in qla26xx_dport_diagnostics().
Fixes: 818c7f87a177 ("scsi: qla2xxx: Add changes in preparation for vendor extended FDMI/RDP")
Signed-off-by: Thomas Fourier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
