projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd6126b
)
drm: fix warning on 32-bit.
author
Dave Airlie
<airlied@redhat.com>
Tue, 16 Oct 2012 00:28:21 +0000
(10:28 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 16 Oct 2012 00:28:21 +0000
(10:28 +1000)
This cast was causing a warning on 32-bit builds.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_info.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_info.c
b/drivers/gpu/drm/drm_info.c
index cdf8b1e7602db2fdd46891b88d7555f6cae7be3e..441ebc1bdbef5455c6a8cc7aa34103926dd963fa 100644
(file)
--- a/
drivers/gpu/drm/drm_info.c
+++ b/
drivers/gpu/drm/drm_info.c
@@
-239,7
+239,7
@@
int drm_vma_info(struct seq_file *m, void *data)
mutex_lock(&dev->struct_mutex);
seq_printf(m, "vma use count: %d, high_memory = %pK, 0x%pK\n",
atomic_read(&dev->vma_count),
- high_memory, (void *)virt_to_phys(high_memory));
+ high_memory, (void *)
(unsigned long)
virt_to_phys(high_memory));
list_for_each_entry(pt, &dev->vmalist, head) {
vma = pt->vma;