Message ID | 20201120132823.962072859@rtp-net.org |
---|---|
State | Changes Requested |
Delegated to: | Kever Yang |
Headers | show |
Series | rk3399 (Pinebook pro) EDP support | expand |
Hi Arnaud, Arnaud Patard <arnaud.patard@rtp-net.org> 于2020年11月20日周五 下午9:32写道: > 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> > 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__, > Please use 0x%lx instead. Thanks, - Kever > dev_read_name(dev), fbbase, ofnode_get_name(ep_node)); > > ret = ofnode_read_u32(ep_node, "remote-endpoint", &remote_phandle); > > >
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);
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>