Modify format type for debug message.

Signed-off-by: Eric Gao <eric....@rock-chips.com>

---

Changes in v1:
-Change the debug message format type because of the change the variable.

 drivers/video/rockchip/rk_mipi.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/video/rockchip/rk_mipi.c b/drivers/video/rockchip/rk_mipi.c
index 1ccd247..1199a30 100644
--- a/drivers/video/rockchip/rk_mipi.c
+++ b/drivers/video/rockchip/rk_mipi.c
@@ -437,14 +437,14 @@ static int rk_mipi_ofdata_to_platdata(struct udevice *dev)
 
        priv->grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF);
        if (priv->grf <= 0) {
-               debug("%s: Get syscon grf failed (ret=%llu)\n",
-                     __func__, (u64)priv->grf);
+               debug("%s: Get syscon grf failed (ret=%p)\n",
+                     __func__, priv->grf);
                return  -ENXIO;
        }
        priv->regs = devfdt_get_addr(dev);
        if (priv->regs <= 0) {
-               debug("%s: Get MIPI dsi address failed (ret=%llu)\n", __func__,
-                     (u64)priv->regs);
+               debug("%s: Get MIPI dsi address failed (ret=%lu)\n", __func__,
+                     priv->regs);
                return  -ENXIO;
        }
 
-- 
1.9.1


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to