Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b850530 authored by Dave Airlie's avatar Dave Airlie
Browse files

drm: fix warning on 32-bit.



This cast was causing a warning on 32-bit builds.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent bd6126bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -239,7 +239,7 @@ int drm_vma_info(struct seq_file *m, void *data)
	mutex_lock(&dev->struct_mutex);
	mutex_lock(&dev->struct_mutex);
	seq_printf(m, "vma use count: %d, high_memory = %pK, 0x%pK\n",
	seq_printf(m, "vma use count: %d, high_memory = %pK, 0x%pK\n",
		   atomic_read(&dev->vma_count),
		   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) {
	list_for_each_entry(pt, &dev->vmalist, head) {
		vma = pt->vma;
		vma = pt->vma;