omap iommu: fix wrong argument in flush_cache_vmap()
Subsystems (2)
PATCH 1/1 omap iommu: fix wrong argument in flush_cache_vmap()
The second argument should be the end address, not the length. Actually there will not be any effect on the behavior of this driver since flush_cache_vmap() calls flush_cache_all() in the end.
Signed-off-by Hiroshi DOYU <[email protected]>
--- arch/arm/plat-omap/iovmm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-omap/iovmm.c +1 -1
@@ -194,7 +194,7 @@ static void *vmap_sg(const struct sg_table *sgt) va += bytes; } -flush_cache_vmap (new->addr, total); +flush_cache_vmap (new->addr, new->addr + total);return new->addr; err_out:
Signature · 1 line
1.6.0.4
PATCH 1/1 omap iommu: fix wrong argument in flush_cache_vmap()
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.
Branch in linux-omap: omap3-upstream
Initial commit ID (Likely to change): 860936a13ed727d5b83649eb5665fcc5392c2784
PatchWorks
http://patchwork.kernel.org/patch/40595/
Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=860936a13ed727d5b83649eb5665fcc5392c2784