From: Arnaud Patard (Rtp) Date: Fri, 5 Mar 2021 10:27:52 +0000 (+0100) Subject: rockchip: video: vop: Fix format of fbbase in debug string X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=3fd64112cea5d5182e08698fb53ffd1589896086;p=u-boot.git 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: Arnaud Patard Tested-by: Peter Robinson --- diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c index 3eb5e8c25c..030fc5e66c 100644 --- a/drivers/video/rockchip/rk_vop.c +++ b/drivers/video/rockchip/rk_vop.c @@ -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);