projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c89f0
)
clk: mstar: msc313-mpll: Fix format specifier
author
Daniel Palmer
<daniel@0x0f.com>
Mon, 15 Feb 2021 11:57:10 +0000
(20:57 +0900)
committer
Stephen Boyd
<sboyd@kernel.org>
Tue, 16 Feb 2021 20:52:28 +0000
(12:52 -0800)
The output dividers are unsigned int so the format specifier
should have been %u not %d.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Link:
https://lore.kernel.org/r/20210215115710.3762276-2-daniel@0x0f.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mstar/clk-msc313-mpll.c
patch
|
blob
|
history
diff --git
a/drivers/clk/mstar/clk-msc313-mpll.c
b/drivers/clk/mstar/clk-msc313-mpll.c
index 09f578108eef4b8f0b6781e2f9924785212b3c23..61beb4e87525096258f3d8cf2e5548af10790b40 100644
(file)
--- a/
drivers/clk/mstar/clk-msc313-mpll.c
+++ b/
drivers/clk/mstar/clk-msc313-mpll.c
@@
-123,7
+123,7
@@
static int msc313_mpll_probe(struct platform_device *pdev)
mpll->clk_data->hws[0] = &mpll->clk_hw;
for (i = 0; i < ARRAY_SIZE(output_dividers); i++) {
- outputname = devm_kasprintf(dev, GFP_KERNEL, "%s_div_%
d
",
+ outputname = devm_kasprintf(dev, GFP_KERNEL, "%s_div_%
u
",
clk_init.name, output_dividers[i]);
if (!outputname)
return -ENOMEM;