linux-yocto/drivers/scsi/qla2xxx
Thomas Fourier c3ae8c66ff scsi: qla2xxx: Fix DMA mapping test in qla24xx_get_port_database()
[ Upstream commit c3b214719a ]

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: 818c7f87a1 ("scsi: qla2xxx: Add changes in preparation for vendor extended FDMI/RDP")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Link: https://lore.kernel.org/r/20250617161115.39888-2-fourier.thomas@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-10 15:59:46 +02:00
..
Kconfig
Makefile
qla_attr.c scsi: qla2xxx: Supported speed displayed incorrectly for VPorts 2024-12-14 19:54:34 +01:00
qla_bsg.c scsi: qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt 2024-12-14 19:54:34 +01:00
qla_bsg.h
qla_dbg.c
qla_dbg.h
qla_def.h scsi: qla2xxx: Move FCE Trace buffer allocation to user control 2025-02-21 13:49:46 +01:00
qla_devtbl.h
qla_dfs.c scsi: qla2xxx: Move FCE Trace buffer allocation to user control 2025-02-21 13:49:46 +01:00
qla_dsd.h
qla_edif_bsg.h
qla_edif.c
qla_edif.h
qla_fw.h
qla_gbl.h scsi: qla2xxx: Move FCE Trace buffer allocation to user control 2025-02-21 13:49:46 +01:00
qla_gs.c
qla_init.c scsi: qla2xxx: Move FCE Trace buffer allocation to user control 2025-02-21 13:49:46 +01:00
qla_inline.h
qla_iocb.c
qla_isr.c
qla_mbx.c scsi: qla2xxx: Fix DMA mapping test in qla24xx_get_port_database() 2025-07-10 15:59:46 +02:00
qla_mid.c
qla_mr.c
qla_mr.h
qla_nvme.c
qla_nvme.h
qla_nx.c
qla_nx.h
qla_nx2.c
qla_nx2.h
qla_os.c scsi: qla2xxx: Fix use after free on unload 2024-12-14 19:54:34 +01:00
qla_settings.h
qla_sup.c
qla_target.c
qla_target.h
qla_tmpl.c
qla_tmpl.h
qla_version.h
tcm_qla2xxx.c
tcm_qla2xxx.h