From: Chad Dupuis Date: Tue, 2 Sep 2014 18:34:58 +0000 (-0400) Subject: bnx2fc: fix incorrect DMA memory mapping in bnx2fc_unmap_sg_list() X-Git-Tag: fixes-for-v3.18-merge-window~25^2^2~133 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5565461e30c15525c431814dd612118a78d05992;p=pandora-kernel.git 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 Signed-off-by: Chad Dupuis Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed