summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/renesas
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2023-09-15 10:53:24 +0200
committerGeert Uytterhoeven <geert+renesas@glider.be>2023-10-16 11:47:44 +0200
commit480b5571f33151e9b4a4dfddfbde7eff14fbe27d (patch)
tree44c139b2c463d48edc035ad26357fb215ccdf72b /drivers/gpu/drm/renesas
parent887042d635005b5127b04a73d2c9d0c79cf380b1 (diff)
downloadlinux-480b5571f33151e9b4a4dfddfbde7eff14fbe27d.tar.gz
linux-480b5571f33151e9b4a4dfddfbde7eff14fbe27d.tar.bz2
linux-480b5571f33151e9b4a4dfddfbde7eff14fbe27d.zip
drm: renesas: shmobile: Use %p4cc to print fourcc code
Replace the last printing of an hexadecimal fourcc format code by a pretty-printed format name, using the "%p4cc" format specifier. Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/aaa9d474535f3cd800da5a9ef27023dc7960e690.1694767209.git.geert+renesas@glider.be
Diffstat (limited to 'drivers/gpu/drm/renesas')
-rw-r--r--drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c b/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c
index 7e49e2873da1..36fedb2b74c8 100644
--- a/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c
+++ b/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c
@@ -184,8 +184,8 @@ shmob_drm_plane_update(struct drm_plane *plane, struct drm_crtc *crtc,
format = shmob_drm_format_info(fb->format->format);
if (format == NULL) {
- dev_dbg(sdev->dev, "update_plane: unsupported format %08x\n",
- fb->format->format);
+ dev_dbg(sdev->dev, "update_plane: unsupported format %p4cc\n",
+ &fb->format->format);
return -EINVAL;
}