From: FUJITA Tomonori Date: Fri, 13 Mar 2009 20:16:13 +0000 (+0100) Subject: ide: save the returned value of dma_map_sg X-Git-Tag: v2.6.29~47^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d82720a7f41f0c877e026c7d17e3bf20ccdbae0;p=pandora-kernel.git ide: save the returned value of dma_map_sg dma_map_sg could return a value different to 'nents' argument of dma_map_sg so the ide stack needs to save it for the later usage (e.g. for_each_sg). The ide stack also needs to save the original sg_nents value for pci_unmap_sg. Signed-off-by: FUJITA Tomonori [bart: backport to Linus' tree] Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed