提交 073f3ca1 编写于 作者: D Dave Stevenson 提交者: Zheng Zengkai

clk: clk-bcm2835: Use %zd when printing size_t

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

The debug text for how many clocks have been registered
uses "%d" with a size_t. Correct it to "%zd".
Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 6ca85b8f
......@@ -2382,7 +2382,7 @@ static int bcm2835_clk_probe(struct platform_device *pdev)
return ret;
/* note that we have registered all the clocks */
dev_dbg(dev, "registered %d clocks\n", asize);
dev_dbg(dev, "registered %zd clocks\n", asize);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册