<div dir="ltr"><div><br></div>Applied.<br><br>Thanks,<br>Inki Dae<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/5 Sachin Kamat <span dir="ltr"><<a href="mailto:sachin.kamat@linaro.org" target="_blank">sachin.kamat@linaro.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Silences the following warnings:<br>
drivers/gpu/drm/exynos/exynos_drm_fbdev.c:102:40: warning:<br>
incorrect type in assignment (different address spaces)<br>
drivers/gpu/drm/exynos/exynos_drm_fbdev.c:102:40:<br>
expected void [noderef] <asn:2>*kvaddr<br>
drivers/gpu/drm/exynos/exynos_drm_fbdev.c:102:40:    got void *<br>
drivers/gpu/drm/exynos/exynos_drm_fbdev.c:107:48: warning:<br>
incorrect type in assignment (different address spaces)<br>
drivers/gpu/drm/exynos/exynos_drm_fbdev.c:107:48:<br>
expected void [noderef] <asn:2>*kvaddr<br>
drivers/gpu/drm/exynos/exynos_drm_fbdev.c:107:48:    got void *<br>
<br>
Signed-off-by: Sachin Kamat <<a href="mailto:sachin.kamat@linaro.org">sachin.kamat@linaro.org</a>><br>
---<br>
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c |    5 +++--<br>
 1 file changed, 3 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c<br>
index 78e868b..e7c2f2d 100644<br>
--- a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c<br>
+++ b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c<br>
@@ -99,12 +99,13 @@ static int exynos_drm_fbdev_update(struct drm_fb_helper *helper,<br>
                if (is_drm_iommu_supported(dev)) {<br>
                        unsigned int nr_pages = buffer->size >> PAGE_SHIFT;<br>
<br>
-                       buffer->kvaddr = vmap(buffer->pages, nr_pages, VM_MAP,<br>
+                       buffer->kvaddr = (void __iomem *) vmap(buffer->pages,<br>
+                                       nr_pages, VM_MAP,<br>
                                        pgprot_writecombine(PAGE_KERNEL));<br>
                } else {<br>
                        phys_addr_t dma_addr = buffer->dma_addr;<br>
                        if (dma_addr)<br>
-                               buffer->kvaddr = phys_to_virt(dma_addr);<br>
+                               buffer->kvaddr = (void __iomem *)phys_to_virt(dma_addr);<br>
                        else<br>
                                buffer->kvaddr = (void __iomem *)NULL;<br>
                }<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.9.5<br>
<br>
_______________________________________________<br>
dri-devel mailing list<br>
<a href="mailto:dri-devel@lists.freedesktop.org">dri-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dri-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dri-devel</a><br>
</font></span></blockquote></div><br></div></div></div>