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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
> Signed-off-by: Ohad Ben-Cohen <ohad@xxxxxxxxxx>

Tested-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux