aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-23 06:56:55 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-23 06:56:55 -0400
commit86f181c766218390ed8fff247a6dd4c9c2c1c5ae (patch)
tree69c6f269ffca884874e4516da0ae1943687d2359 /drivers/media
parentmedia: ivtvfb: Cleanup some warnings (diff)
downloadlinux-dev-86f181c766218390ed8fff247a6dd4c9c2c1c5ae.tar.xz
linux-dev-86f181c766218390ed8fff247a6dd4c9c2c1c5ae.zip
media: s2255drv: fix a casting warning
drivers/media/usb/s2255/s2255drv.c:651 s2255_fillbuff() warn: argument 3 to %08lx specifier is cast from pointer Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/usb/s2255/s2255drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/usb/s2255/s2255drv.c b/drivers/media/usb/s2255/s2255drv.c
index a00a15f55d37..82927eb334c4 100644
--- a/drivers/media/usb/s2255/s2255drv.c
+++ b/drivers/media/usb/s2255/s2255drv.c
@@ -648,8 +648,8 @@ static void s2255_fillbuff(struct s2255_vc *vc,
pr_err("s2255: =======no frame\n");
return;
}
- dprintk(dev, 2, "s2255fill at : Buffer 0x%08lx size= %d\n",
- (unsigned long)vbuf, pos);
+ dprintk(dev, 2, "s2255fill at : Buffer %p size= %d\n",
+ vbuf, pos);
}