Skip to content
Snippets Groups Projects
Commit 5565461e authored by Chad Dupuis's avatar Chad Dupuis Committed by Christoph Hellwig
Browse files

bnx2fc: fix incorrect DMA memory mapping in bnx2fc_unmap_sg_list()


This patch is based on a problem and solution from Maurizio Lombardi
where bnx2fc isn't consistent in which device struct we using for DMA
map and unmap operations.  Make them consistent by using dma_sg_unmap
in bnx2fc_unmap_sg_list like bnx2fc_map_sg.

Reviewed-by: default avatarEddie Wai <eddie.wai@broadcom.com>
Signed-off-by: default avatarChad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent fd10ccfa
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment