clk: cdce925: Fix printk size_t warning
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 10 Jun 2015 21:14:28 +0000 (14:14 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 10 Jun 2015 21:16:36 +0000 (14:16 -0700)
drivers/clk/clk-cdce925.c:550: warning: format ‘%u’ expects type
‘unsigned int’, but argument 6 has type ‘size_t’

Cc: Mike Looijmans <mike.looijmans@topic.nl>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-cdce925.c

index 56b870d331a1af6330e81919fa45c1d2d29b92a2..85fafb41e6ca3a8edbab5f1a1d8adc88c4ec7f4d 100644 (file)
@@ -547,7 +547,7 @@ static int cdce925_regmap_i2c_read(void *context,
 
        ret = i2c_transfer(i2c->adapter, xfer, 2);
        if (likely(ret == 2)) {
-               dev_dbg(&i2c->dev, "%s(%zu, %u) %#x %#x\n", __func__,
+               dev_dbg(&i2c->dev, "%s(%zu, %zu) %#x %#x\n", __func__,
                                reg_size, val_size, reg_data[0], *((u8 *)val));
                return 0;
        } else if (ret < 0)