summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-axm5516.c
diff options
context:
space:
mode:
authorAlexander Sverdlin <alexander.sverdlin@nokia.com>2015-05-13 19:27:40 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-05-13 22:32:53 +0300
commitbeb7a2a97103ce31df639b35b6f3a07ca7f77188 (patch)
tree03e72d1f6e5449d2307e8f0b355bca5939a8d678 /drivers/clk/clk-axm5516.c
parentb1ed311baf66d7e826f07f456b9f7945fa300aaf (diff)
downloadlinux-beb7a2a97103ce31df639b35b6f3a07ca7f77188.tar.xz
clk: axm55xx: Use %zu in pr_info for size_t
Fix the following compiler warning: drivers/clk/clk-axm5516.c: In function 'axmclk_probe': drivers/clk/clk-axm5516.c:559:2: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'size_t' [-Wformat=] pr_info("axmclk: supporting %u clocks\n", num_clks); ^ Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-axm5516.c')
-rw-r--r--drivers/clk/clk-axm5516.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-axm5516.c b/drivers/clk/clk-axm5516.c
index 0f6368ceec4c..c7c91a5ecf8b 100644
--- a/drivers/clk/clk-axm5516.c
+++ b/drivers/clk/clk-axm5516.c
@@ -556,7 +556,7 @@ static int axmclk_probe(struct platform_device *pdev)
return PTR_ERR(regmap);
num_clks = ARRAY_SIZE(axmclk_clocks);
- pr_info("axmclk: supporting %u clocks\n", num_clks);
+ pr_info("axmclk: supporting %zu clocks\n", num_clks);
priv = devm_kzalloc(dev, sizeof(*priv) + sizeof(*priv->clks) * num_clks,
GFP_KERNEL);
if (!priv)