dma_map_XXX() can fail and should be tested for errors with
dma_mapping_error().
Fixes: a63e78eb2b0f ("scsi: fnic: Add support for fabric based solicited requests and responses")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Link: https://lore.kernel.org/r/20250618065715.14740-2-fourier.thomas@gmail.com
Reviewed-by: Karan Tilak Kumar <kartilak@cisco.com>
Reviewed-by: John Menghini <jmeneghi@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|
||
|---|---|---|
| .. | ||
| cq_desc.h | ||
| cq_enet_desc.h | ||
| cq_exch_desc.h | ||
| fcpio.h | ||
| fdls_disc.c | ||
| fdls_fc.h | ||
| fip.c | ||
| fip.h | ||
| fnic_attrs.c | ||
| fnic_debugfs.c | ||
| fnic_fcs.c | ||
| fnic_fdls.h | ||
| fnic_io.h | ||
| fnic_isr.c | ||
| fnic_main.c | ||
| fnic_pci_subsys_devid.c | ||
| fnic_res.c | ||
| fnic_res.h | ||
| fnic_scsi.c | ||
| fnic_stats.h | ||
| fnic_trace.c | ||
| fnic_trace.h | ||
| fnic.h | ||
| Makefile | ||
| rq_enet_desc.h | ||
| vnic_cq_copy.h | ||
| vnic_cq.c | ||
| vnic_cq.h | ||
| vnic_dev.c | ||
| vnic_dev.h | ||
| vnic_devcmd.h | ||
| vnic_intr.c | ||
| vnic_intr.h | ||
| vnic_nic.h | ||
| vnic_resource.h | ||
| vnic_rq.c | ||
| vnic_rq.h | ||
| vnic_scsi.h | ||
| vnic_stats.h | ||
| vnic_wq_copy.c | ||
| vnic_wq_copy.h | ||
| vnic_wq.c | ||
| vnic_wq.h | ||
| wq_enet_desc.h | ||