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 <daniel@0x0f.com> Link: https://lore.kernel.org/r/20210215115710.3762276-2-daniel@0x0f.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 93c89f0 commit d90afa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)