Skip to content
Commit 00f452a1 authored by Thomas Fourier's avatar Thomas Fourier Committed by Martin K. Petersen
Browse files

scsi: qla4xxx: Fix missing DMA mapping error in qla4xxx_alloc_pdu()



dma_map_XXX() can fail and should be tested for errors with
dma_mapping_error().

Fixes: b3a271a9 ("[SCSI] qla4xxx: support iscsiadm session mgmt")
Signed-off-by: default avatarThomas Fourier <fourier.thomas@gmail.com>
Link: https://lore.kernel.org/r/20250618071742.21822-2-fourier.thomas@gmail.com


Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent c3b21471
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment