diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2012-10-16 21:17:59 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-28 19:42:45 +0100 |
commit | 107376ba4ef1ecd4249427a9f9c1922fc1d66bb4 (patch) | |
tree | 50f311411272ff8505e8a384d21d91b0f66cadd4 /drivers/media/i2c/s5k4ecgx.c | |
parent | [media] stk1160: Check return value of stk1160_read_reg() in stk1160_i2c_read... (diff) | |
download | linux-107376ba4ef1ecd4249427a9f9c1922fc1d66bb4.tar.xz linux-107376ba4ef1ecd4249427a9f9c1922fc1d66bb4.zip |
[media] i2c/s5k4ecgx: fix printk format warning
Fix printk format warning for size_t variable:
drivers/media/i2c/s5k4ecgx.c:346:2: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c/s5k4ecgx.c')
-rw-r--r-- | drivers/media/i2c/s5k4ecgx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/s5k4ecgx.c b/drivers/media/i2c/s5k4ecgx.c index 49c1b3abb425..2750de634270 100644 --- a/drivers/media/i2c/s5k4ecgx.c +++ b/drivers/media/i2c/s5k4ecgx.c @@ -343,7 +343,7 @@ static int s5k4ecgx_load_firmware(struct v4l2_subdev *sd) } regs_num = le32_to_cpu(get_unaligned_le32(fw->data)); - v4l2_dbg(3, debug, sd, "FW: %s size %d register sets %d\n", + v4l2_dbg(3, debug, sd, "FW: %s size %zu register sets %d\n", S5K4ECGX_FIRMWARE, fw->size, regs_num); regs_num++; /* Add header */ |