[PATCH] omap: iovmm: s/sg_dma_len(sg)/sg->length/

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Jun 8 12:03:23 EDT 2011

Hi Ohad,

Thanks for the patch.

On Wednesday 08 June 2011 08:43:55 Ohad Ben-Cohen wrote:
> 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 <linux at arm.linux.org.uk>
> Signed-off-by: Ohad Ben-Cohen <ohad at wizery.com>

Tested-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>


Laurent Pinchart

More information about the linux-arm-kernel mailing list