[media] v4l: sh_vou: Fix warnings due to improper casts and printk formats
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 11 Dec 2013 12:33:03 +0000 (09:33 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 18 Dec 2013 12:26:19 +0000 (10:26 -0200)
commit3f8965e0e04e3b5d7dd221c3407ce86690e91a5d
tree8f1a7c0d6a33ca31236fe7a61fc21164cb546ee7
parentc0ec1c4dd7d6b2bfb1eca116f9df4578d9193623
[media] v4l: sh_vou: Fix warnings due to improper casts and printk formats

Use the %zu and %pad printk specifiers to print size_t and dma_addr_t
variables. This fixes warnings on platforms where dma_addr_t has a
different size than int.

Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/sh_vou.c