projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
feb2254
)
CHROMIUM: drm: exynos: fix compiler warning
author
Olof Johansson
<olofj@chromium.org>
Mon, 10 Sep 2012 23:29:35 +0000
(16:29 -0700)
committer
Gerrit
<chrome-bot@google.com>
Tue, 11 Sep 2012 01:07:51 +0000
(18:07 -0700)
drivers/gpu/drm/exynos/exynos_drm_fb.c:94:16: warning: assignment makes integer from pointer without a cast [enabled by default]
BUG=chromium-os:34287
TEST=none
Change-Id: I9d4f22e683316cecdd49a245e1ba08a87e2f57d9
Signed-off-by: Olof Johansson <olofj@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/32840
Reviewed-by: Anush Elangovan <anush@chromium.org>
drivers/gpu/drm/exynos/exynos_drm_fb.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_fb.c
b/drivers/gpu/drm/exynos/exynos_drm_fb.c
index
1cb7347
..
9fae37b
100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_fb.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_fb.c
@@
-91,7
+91,7
@@
static int exynos_drm_fb_unmap(struct drm_framebuffer *fb)
buf->sgt->orig_nents,
DMA_BIDIRECTIONAL);
buf->sgt->orig_nents,
DMA_BIDIRECTIONAL);
- buf->dma_addr =
NULL
;
+ buf->dma_addr =
0
;
return 0;
}
return 0;
}