summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/helene.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-06-07 17:18:40 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-06-07 17:19:32 +0200
commitb6095d29a2406a6ea059bd019c53b69cd3a8fd99 (patch)
tree3107c4e294c91d79fa8f8c0bbb91409dcdd3f446 /drivers/media/dvb-frontends/helene.c
parent[media] fix typo in SONY demodulator description (diff)
downloadlinux-b6095d29a2406a6ea059bd019c53b69cd3a8fd99.tar.xz
linux-b6095d29a2406a6ea059bd019c53b69cd3a8fd99.zip
[media] helene: fix a warning when printing sizeof()
drivers/media/dvb-frontends/helene.c: In function 'helene_write_regs': drivers/media/dvb-frontends/helene.c:312:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=] "wr reg=%04x: len=%d vs %lu is too big!\n", ^ Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/helene.c')
-rw-r--r--drivers/media/dvb-frontends/helene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/helene.c b/drivers/media/dvb-frontends/helene.c
index f385ebd2e7a7..693b5bfbdf0a 100644
--- a/drivers/media/dvb-frontends/helene.c
+++ b/drivers/media/dvb-frontends/helene.c
@@ -309,7 +309,7 @@ static int helene_write_regs(struct helene_priv *priv,
if (len + 1 > sizeof(buf)) {
dev_warn(&priv->i2c->dev,
- "wr reg=%04x: len=%d vs %lu is too big!\n",
+ "wr reg=%04x: len=%d vs %Zu is too big!\n",
reg, len + 1, sizeof(buf));
return -E2BIG;
}