From: Christian Hohnstaedt Date: Fri, 27 Mar 2009 07:09:05 +0000 (+0800) Subject: crypto: ixp4xx - Fix handling of chained sg buffers X-Git-Tag: v2.6.27.22~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a80273150a8a1725fa70418d106eb1f2ee8fd2f;p=pandora-kernel.git crypto: ixp4xx - Fix handling of chained sg buffers commit 0d44dc59b2b434b29aafeae581d06f81efac7c83 upstream. - keep dma functions away from chained scatterlists. Use the existing scatterlist iteration inside the driver to call dma_map_single() for each chunk and avoid dma_map_sg(). Signed-off-by: Christian Hohnstaedt Tested-By: Karl Hiramoto Signed-off-by: Herbert Xu Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed