summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2013-04-08 05:10:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-12 12:41:28 -0300
commitabd50853d9fff98e4277b0bc23e5cee23b058b9f (patch)
treeedcb9972dd1f4dcbc47699f8aa47339f054e11f1 /drivers/media/i2c
parenta34026e75bd1e6fdfbe8b59c320bb7d31c84b3da (diff)
downloadtalos-obmc-linux-abd50853d9fff98e4277b0bc23e5cee23b058b9f.tar.gz
talos-obmc-linux-abd50853d9fff98e4277b0bc23e5cee23b058b9f.zip
[media] s5c73m3: Fix s5c73m3-core.c compiler warning
Fix for this compiler warning: CC [M] drivers/media/i2c/s5c73m3/s5c73m3-core.o drivers/media/i2c/s5c73m3/s5c73m3-core.c: In function ‘s5c73m3_load_fw’: drivers/media/i2c/s5c73m3/s5c73m3-core.c:360:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat] Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/s5c73m3/s5c73m3-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-core.c b/drivers/media/i2c/s5c73m3/s5c73m3-core.c
index 5dbb65e1f6b7..b353c50a6881 100644
--- a/drivers/media/i2c/s5c73m3/s5c73m3-core.c
+++ b/drivers/media/i2c/s5c73m3/s5c73m3-core.c
@@ -357,7 +357,7 @@ static int s5c73m3_load_fw(struct v4l2_subdev *sd)
return -EINVAL;
}
- v4l2_info(sd, "Loading firmware (%s, %d B)\n", fw_name, fw->size);
+ v4l2_info(sd, "Loading firmware (%s, %zu B)\n", fw_name, fw->size);
ret = s5c73m3_spi_write(state, fw->data, fw->size, 64);
OpenPOWER on IntegriCloud