From: Ohad Ben-Cohen Date: Wed, 8 Jun 2011 06:06:11 +0000 (+0300) Subject: omap: iovmm: s/sg_dma_len(sg)/sg->length/ X-Git-Tag: v3.1-rc1~152^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66cf402bd911d3874f986156d0bee8b943b71e7c;p=pandora-kernel.git omap: iovmm: s/sg_dma_len(sg)/sg->length/ iovmm is erroneously using sg_dma_len with unmapped (DMA API-wise) SG entries, and will break if CONFIG_NEED_SG_DMA_LENGTH is enabled. Fix that by using sg->length instead. Reported-by: Russell King Tested-by: Laurent Pinchart Signed-off-by: Ohad Ben-Cohen --- Reading git-diff-tree failed