mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
Stephen Boyd
parent
93c89f03cb
commit
d90afa62ac
@@ -123,7 +123,7 @@ static int msc313_mpll_probe(struct platform_device *pdev)
|
|||||||
mpll->clk_data->hws[0] = &mpll->clk_hw;
|
mpll->clk_data->hws[0] = &mpll->clk_hw;
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_SIZE(output_dividers); i++) {
|
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]);
|
clk_init.name, output_dividers[i]);
|
||||||
if (!outputname)
|
if (!outputname)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
Reference in New Issue
Block a user