summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-cdce925.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-06-10 14:14:28 -0700
committerStephen Boyd <sboyd@codeaurora.org>2015-06-10 14:16:36 -0700
commitb41c7bfa27f221a567e33b44aa5395adfe042229 (patch)
tree7ae62e82926adfbd4b81cf1a8290b1c4eab16e27 /drivers/clk/clk-cdce925.c
parent7eaf8b9f0b699732bab739ae47d4cad55e7ee4e3 (diff)
downloadlinux-stable-b41c7bfa27f221a567e33b44aa5395adfe042229.tar.gz
linux-stable-b41c7bfa27f221a567e33b44aa5395adfe042229.tar.bz2
linux-stable-b41c7bfa27f221a567e33b44aa5395adfe042229.zip
clk: cdce925: Fix printk size_t warning
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>
Diffstat (limited to 'drivers/clk/clk-cdce925.c')
-rw-r--r--drivers/clk/clk-cdce925.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-cdce925.c b/drivers/clk/clk-cdce925.c
index 56b870d331a1..85fafb41e6ca 100644
--- a/drivers/clk/clk-cdce925.c
+++ b/drivers/clk/clk-cdce925.c
@@ -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)