diff mbox series

[v2,08/10] drivers/video/rockchip/rk_vop.c: Fix format of fbbase in debug string

Message ID 20201027132236.086716818@rtp-net.org
State Superseded
Delegated to: Kever Yang
Headers show
Series rk3399 (Pinebook pro) EDP support | expand

Commit Message

Arnaud Patard (Rtp) Oct. 27, 2020, 1:21 p.m. UTC
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 <arnaud.patard@rtp-net.org>

Comments

Alper Nebi Yasak Oct. 27, 2020, 10:36 p.m. UTC | #1
On 27/10/2020 16:21, Arnaud Patard (Rtp) wrote:
> 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 <arnaud.patard@rtp-net.org>

On a rk3399-gru-kevin, (see comment in patch 1):

Tested-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
diff mbox series

Patch

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);