]> git.baikalelectronics.ru Git - kernel.git/commit
[media] helene: fix a warning when printing sizeof()
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 7 Jun 2016 15:18:40 +0000 (12:18 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 7 Jun 2016 15:19:32 +0000 (12:19 -0300)
commit291d52f1ce38041dde25ae314965eece140a0016
tree3107c4e294c91d79fa8f8c0bbb91409dcdd3f446
parent6df969b0049541aa28c1f59ad0a7fc4dfd192269
[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>
drivers/media/dvb-frontends/helene.c