From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnaud Patard (Rtp) Date: Tue, 27 Oct 2020 14:21:39 +0100 Subject: [patch v2 08/10] drivers/video/rockchip/rk_vop.c: Fix format of fbbase in debug string References: <20201027132131.016984025@rtp-net.org> Message-ID: <20201027132236.086716818@rtp-net.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Index: u-boot/drivers/video/rockchip/rk_vop.c =================================================================== --- u-boot.orig/drivers/video/rockchip/rk_vop.c +++ u-boot/drivers/video/rockchip/rk_vop.c @@ -239,7 +239,7 @@ static int rk_display_init(struct udevic ofnode remote; const char *compat; - debug("%s(%s, %lu, %s)\n", __func__, + debug("%s(%s, %lx, %s)\n", __func__, dev_read_name(dev), fbbase, ofnode_get_name(ep_node)); ret = ofnode_read_u32(ep_node, "remote-endpoint", &remote_phandle);