* [PATCH 1/1] omap iommu: fix wrong argument in flush_cache_vmap()
@ 2009-08-11 9:25 Hiroshi DOYU
2009-08-12 11:25 ` [APPLIED] " Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Hiroshi DOYU @ 2009-08-11 9:25 UTC (permalink / raw)
To: linux-omap; +Cc: Hiroshi DOYU
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 <Hiroshi.DOYU@nokia.com>
---
arch/arm/plat-omap/iovmm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c
index e1b03b9..18ef59a 100644
--- a/arch/arm/plat-omap/iovmm.c
+++ b/arch/arm/plat-omap/iovmm.c
@@ -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:
--
1.6.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [APPLIED] [PATCH 1/1] omap iommu: fix wrong argument in flush_cache_vmap()
2009-08-11 9:25 [PATCH 1/1] omap iommu: fix wrong argument in flush_cache_vmap() Hiroshi DOYU
@ 2009-08-12 11:25 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2009-08-12 11:25 UTC (permalink / raw)
To: linux-omap
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-12 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11 9:25 [PATCH 1/1] omap iommu: fix wrong argument in flush_cache_vmap() Hiroshi DOYU
2009-08-12 11:25 ` [APPLIED] " Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox