Skip to content

Commit d90afa6

Browse files
fifteenhexbebarino
authored andcommitted
clk: mstar: msc313-mpll: Fix format specifier
The output dividers are unsigned int so the format specifier should have been %u not %d. Signed-off-by: Daniel Palmer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 93c89f0 commit d90afa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/mstar/clk-msc313-mpll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static int msc313_mpll_probe(struct platform_device *pdev)
123123
mpll->clk_data->hws[0] = &mpll->clk_hw;
124124

125125
for (i = 0; i < ARRAY_SIZE(output_dividers); i++) {
126-
outputname = devm_kasprintf(dev, GFP_KERNEL, "%s_div_%d",
126+
outputname = devm_kasprintf(dev, GFP_KERNEL, "%s_div_%u",
127127
clk_init.name, output_dividers[i]);
128128
if (!outputname)
129129
return -ENOMEM;

0 commit comments

Comments
 (0)