Commit 3f8964a
Karan Kumar
scsi: fnic: Fix missing DMA mapping error in fnic_send_frame()
JIRA: https://issues.redhat.com/browse/RHEL-90133
dma_map_XXX() can fail and should be tested for errors with
dma_mapping_error().
Fixes: a63e78e ("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>
(cherry picked from commit 85d6fbc)
Signed-off-by: Karan Kumar <karkumar@redhat.com>1 parent 169a56d commit 3f8964a
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| 651 | + | |
| 652 | + | |
651 | 653 | | |
652 | 654 | | |
653 | 655 | | |
| |||
0 commit comments