]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] dvb-frontends: use %zu instead of %zd
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 24 Sep 2014 23:35:12 +0000 (20:35 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 26 Sep 2014 09:50:59 +0000 (06:50 -0300)
size_t is unsigned.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/bcm3510.c
drivers/media/dvb-frontends/mt312.c
drivers/media/dvb-frontends/or51211.c
drivers/media/dvb-frontends/zl10039.c

index 998d1503146111d9c53238dbee85420da12edd0c..638c7aa0fb7e6ae90434d10d92c22879a89a860c 100644 (file)
@@ -639,7 +639,7 @@ static int bcm3510_download_firmware(struct dvb_frontend* fe)
                err("could not load firmware (%s): %d",BCM3510_DEFAULT_FIRMWARE,ret);
                return ret;
        }
-       deb_info("got firmware: %zd\n",fw->size);
+       deb_info("got firmware: %zu\n", fw->size);
 
        b = fw->data;
        for (i = 0; i < fw->size;) {
index a74ac0ddb83310ab619870a0f465771ca451eb7a..2163490c1e6b23758cf8efcf3c14e60413e8ed45 100644 (file)
@@ -103,7 +103,7 @@ static int mt312_write(struct mt312_state *state, const enum mt312_reg_addr reg,
 
        if (1 + count > sizeof(buf)) {
                printk(KERN_WARNING
-                      "mt312: write: len=%zd is too big!\n", count);
+                      "mt312: write: len=%zu is too big!\n", count);
                return -EINVAL;
        }
 
index 10cfc05791689323b0d4ab5b967eb22ff7e9e1db..873ea1da844b3b89940cff3a3082c9172b76b629 100644 (file)
@@ -111,7 +111,7 @@ static int or51211_load_firmware (struct dvb_frontend* fe,
        u8 tudata[585];
        int i;
 
-       dprintk("Firmware is %zd bytes\n",fw->size);
+       dprintk("Firmware is %zu bytes\n", fw->size);
 
        /* Get eprom data */
        tudata[0] = 17;
index 91b6b2e9b79228b6c497f7c7aba65dd36415f9da..ee09ec26c553ef7aa4e8387f4ba7bcab3948db37 100644 (file)
@@ -111,7 +111,7 @@ static int zl10039_write(struct zl10039_state *state,
 
        if (1 + count > sizeof(buf)) {
                printk(KERN_WARNING
-                      "%s: i2c wr reg=%04x: len=%zd is too big!\n",
+                      "%s: i2c wr reg=%04x: len=%zu is too big!\n",
                       KBUILD_MODNAME, reg, count);
                return -EINVAL;
        }