summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-23 07:17:19 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-23 07:17:19 -0400
commit70ae6a049fa9886f3d81bb35b7a806eef72351a2 (patch)
treed449ead2730c54d9011caaba617a77e7c933b36a
parent9863bc49abade85cad2ef6c1f535f61c2c24f163 (diff)
downloadlinux-stable-70ae6a049fa9886f3d81bb35b7a806eef72351a2.tar.gz
linux-stable-70ae6a049fa9886f3d81bb35b7a806eef72351a2.tar.bz2
linux-stable-70ae6a049fa9886f3d81bb35b7a806eef72351a2.zip
media: zoran: don't cast pointers to print them
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>
-rw-r--r--drivers/media/pci/zoran/zoran_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/zoran/zoran_driver.c b/drivers/media/pci/zoran/zoran_driver.c
index 8d4e7d930a66..14f9c0e26a1c 100644
--- a/drivers/media/pci/zoran/zoran_driver.c
+++ b/drivers/media/pci/zoran/zoran_driver.c
@@ -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));
}