From: Dave Airlie Date: Tue, 16 Oct 2012 00:28:21 +0000 (+1000) Subject: drm: fix warning on 32-bit. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b8505300525d7e802ecf52ae160bc63f4ba28d7;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drm: fix warning on 32-bit. This cast was causing a warning on 32-bit builds. Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_info.c b/drivers/gpu/drm/drm_info.c index cdf8b1e7602d..441ebc1bdbef 100644 --- 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;