mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 05:14:35 +00:00
dma_map_XXX() can fail and should be tested for errors with
dma_mapping_error().
Fixes: a63e78eb2b ("scsi: fnic: Add support for fabric based solicited requests and responses")
Signed-off-by: Thomas Fourier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Karan Tilak Kumar <[email protected]>
Reviewed-by: John Menghini <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>