diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-09-25 22:46:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-20 23:17:37 -0400 |
commit | 62c78c967f2e06958ebbc53686802e44bd961636 (patch) | |
tree | 10856a581c68de92165b4707cce2454f4123b1e3 /drivers/media | |
parent | 6af8cc0b2553b7bed060592c07244bd2d75737c9 (diff) |
[media] cx231xx: remove a printk warning at -avcore and at -417
drivers/media/video/cx231xx/cx231xx-avcore.c:1608: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
drivers/media/video/cx231xx/cx231xx-417.c:1047: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-417.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-avcore.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-417.c b/drivers/media/video/cx231xx/cx231xx-417.c index 38acc55cb9b6..6fb2d1743569 100644 --- a/drivers/media/video/cx231xx/cx231xx-417.c +++ b/drivers/media/video/cx231xx/cx231xx-417.c | |||
@@ -1044,7 +1044,7 @@ static int cx231xx_load_firmware(struct cx231xx *dev) | |||
1044 | /* transfer to the chip */ | 1044 | /* transfer to the chip */ |
1045 | dprintk(2, "Loading firmware to GPIO...\n"); | 1045 | dprintk(2, "Loading firmware to GPIO...\n"); |
1046 | p_fw_data = (u32 *)firmware->data; | 1046 | p_fw_data = (u32 *)firmware->data; |
1047 | dprintk(2, "firmware->size=%d\n", firmware->size); | 1047 | dprintk(2, "firmware->size=%zd\n", firmware->size); |
1048 | for (transfer_size = 0; transfer_size < firmware->size; | 1048 | for (transfer_size = 0; transfer_size < firmware->size; |
1049 | transfer_size += 4) { | 1049 | transfer_size += 4) { |
1050 | fw_data = *p_fw_data; | 1050 | fw_data = *p_fw_data; |
diff --git a/drivers/media/video/cx231xx/cx231xx-avcore.c b/drivers/media/video/cx231xx/cx231xx-avcore.c index b4eda903d27d..ab9fbf82b4d2 100644 --- a/drivers/media/video/cx231xx/cx231xx-avcore.c +++ b/drivers/media/video/cx231xx/cx231xx-avcore.c | |||
@@ -1605,7 +1605,7 @@ void cx231xx_set_DIF_bandpass(struct cx231xx *dev, u32 if_freq, | |||
1605 | if_freq = 16000000; | 1605 | if_freq = 16000000; |
1606 | } | 1606 | } |
1607 | 1607 | ||
1608 | cx231xx_info("Enter IF=%d\n", | 1608 | cx231xx_info("Enter IF=%zd\n", |
1609 | sizeof(Dif_set_array)/sizeof(struct dif_settings)); | 1609 | sizeof(Dif_set_array)/sizeof(struct dif_settings)); |
1610 | for (i = 0; i < sizeof(Dif_set_array)/sizeof(struct dif_settings); i++) { | 1610 | for (i = 0; i < sizeof(Dif_set_array)/sizeof(struct dif_settings); i++) { |
1611 | if (Dif_set_array[i].if_freq == if_freq) { | 1611 | if (Dif_set_array[i].if_freq == if_freq) { |