commit | 5565461e30c15525c431814dd612118a78d05992 | [log] [tgz] |
---|---|---|
author | Chad Dupuis <chad.dupuis@qlogic.com> | Tue Sep 02 14:34:58 2014 -0400 |
committer | Christoph Hellwig <hch@lst.de> | Tue Sep 16 09:10:14 2014 -0700 |
tree | 6bc1fd956899655443cc607e0b367bead8a222a7 | |
parent | fd10ccfa8dfe740f61471b212c200fbdb5de82f5 [diff] |
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: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Christoph Hellwig <hch@lst.de>