Replace use of struct rcar_du_format_info with %p4cc for printing
4CC formats.

Reported-by: Geert Uytterhoeven <geert+rene...@glider.be>
Signed-off-by: Biju Das <biju.das...@bp.renesas.com>
---
 drivers/gpu/drm/rcar-du/rcar_du_kms.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c 
b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
index 21881fb5e84a..8c2719efda2a 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_kms.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
@@ -405,8 +405,8 @@ rcar_du_fb_create(struct drm_device *dev, struct drm_file 
*file_priv,
 
        format = rcar_du_format_info(mode_cmd->pixel_format);
        if (format == NULL) {
-               dev_dbg(dev->dev, "unsupported pixel format %08x\n",
-                       mode_cmd->pixel_format);
+               dev_dbg(dev->dev, "unsupported pixel format %p4cc\n",
+                       &mode_cmd->pixel_format);
                return ERR_PTR(-EINVAL);
        }
 
-- 
2.25.1

Reply via email to