提交 3fd64112 编写于 作者: A Arnaud Patard (Rtp) 提交者: Anatolij Gustschin

rockchip: video: vop: Fix format of fbbase in debug string

The debug string printing the device name, framebuffer address and of node
is using %lu as format for the framebuffer address, which is not so nice.
Change it to %lx.
Signed-off-by: NArnaud Patard <arnaud.patard@rtp-net.org>
Tested-by: NPeter Robinson <pbrobinson@gmail.com>
上级 4db39268
......@@ -240,7 +240,7 @@ static int rk_display_init(struct udevice *dev, ulong fbbase, ofnode ep_node)
ofnode remote;
const char *compat;
debug("%s(%s, %lu, %s)\n", __func__,
debug("%s(%s, 0x%lx, %s)\n", __func__,
dev_read_name(dev), fbbase, ofnode_get_name(ep_node));
ret = ofnode_read_u32(ep_node, "remote-endpoint", &remote_phandle);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册