media: zoran: don't cast pointers to print them
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 23 Mar 2018 11:17:19 +0000 (07:17 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 23 Mar 2018 11:17:19 +0000 (07:17 -0400)
drivers/media/pci/zoran/zoran_driver.c:242 v4l_fbuffer_alloc() warn: argument 5 to %lx specifier is cast from pointer

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/zoran/zoran_driver.c

index 8d4e7d930a663a2d15e2b7e187b66069af2dbe93..14f9c0e26a1c5bd09f7e22d4b34e7d1d7e44a9ad 100644 (file)
@@ -241,8 +241,8 @@ static int v4l_fbuffer_alloc(struct zoran_fh *fh)
                        SetPageReserved(virt_to_page(mem + off));
                dprintk(4,
                        KERN_INFO
-                       "%s: %s - V4L frame %d mem 0x%lx (bus: 0x%llx)\n",
-                       ZR_DEVNAME(zr), __func__, i, (unsigned long) mem,
+                       "%s: %s - V4L frame %d mem %p (bus: 0x%llx)\n",
+                       ZR_DEVNAME(zr), __func__, i, mem,
                        (unsigned long long)virt_to_bus(mem));
        }