From 4d86ec7a8a3f9c135fdc34d7aed2a9467e2e6ff9 Mon Sep 17 00:00:00 2001 From: EunBong Song Date: Mon, 5 Aug 2013 17:30:47 +0100 Subject: [PATCH] swiotlb: replace dma_length with sg_dma_len() macro This patch replace dma_length in "lib/swiotlb.c" to sg_dma_len() macro, because the build error can occur if CONFIG_NEED_SG_DMA_LENGTH is not set, and CONFIG_SWIOTLB is set. Singed-off-by: EunBong Song Signed-off-by: Stefano Stabellini Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-format-patch failed