Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1448649rdb; Wed, 16 Aug 2023 11:40:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF12EkM4k8TJn1roEC2/SJrwojRYR9+yHXL9/cMCs3LJvxxUawzu3PnViX8sEdi4qdladRJ X-Received: by 2002:a17:906:1187:b0:99d:13f:d85f with SMTP id n7-20020a170906118700b0099d013fd85fmr1942612eja.61.1692211238816; Wed, 16 Aug 2023 11:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692211238; cv=none; d=google.com; s=arc-20160816; b=phnU+X0NRAys4gYPRwCo4EAKA4Zy94RTElMV1KaLJ2wlkKyRKH7CL1b9+G1/JO2JOK fpzlK/dZGLNr5uVZQJDWrDOfWwjw3PTKv8rO2zMXjyOTK80I6Y7WZ4V79bMF6aQJ/TjO wHyCoiY+sbn88pRt3UxI2PApDKw4DHPG8LkOu6HY/DyYxNX6QNdo2w9GZUqG9ms2Jpra n7MevPSRUaApWJdncLGG41OAPBjR4XeVfpTDZGvtoL++hCRERiTzhAiis9SEEGsDZ/Ty 72vjhOxj1doZ+m9NFDu/9AvJAQpp8fcGZ9zCBBaDx5YbX2vXXVLNNyQz3H7rdUFTdMmH q98Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=kEpyDjKpZ3j+v0vVfMp1rgYukrLBdQrRqFGnXKPzv8k=; fh=OmmZDJEp3pl7jaFV8O2/yN66VkuJIFqajAiD2ZUHFno=; b=WVLFFJRT3TI4XU2eY9y8noY12dx3nkJRUaLL+yZ3PjhEQrtpU4dZhTPJIDXK2iBrLb gMucL3pfzq9Ix6uLgjs+sQlLSYroYNR6iaPuduXZdBPuQRG8Yu0oN4Ahdt/lWC8JAjtx rmqor9taQxB9UXz/mnePl1q6enuduqGYM0GWpBvZQZotZcWvxXlHbVLaKQJ0sCxlxIyf 8zvav02Of3mGP/DtufHPZaN4AV4Oee4UX9HOWi8Je+QMvaT+Klns57V18oRStJjHSDos 6MP6SQpeAiS7mpWwCiYkiU/TueSiyDvhpIMSKLjQkjXHE9zUq5pE13qZJh/Ch4YVx4vS Vn8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j24-20020a17090643d800b0099c49a11e78si11058022ejn.975.2023.08.16.11.40.07; Wed, 16 Aug 2023 11:40:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244152AbjHPKqC (ORCPT + 99 others); Wed, 16 Aug 2023 06:46:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244134AbjHPKpS (ORCPT ); Wed, 16 Aug 2023 06:45:18 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A49B2729 for ; Wed, 16 Aug 2023 03:45:07 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5d0c:f209:12a7:4ce5]) by laurent.telenet-ops.be with bizsmtp id aAkh2A00t45ualL01AkiVU; Wed, 16 Aug 2023 12:44:43 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qWE0x-000osw-G8; Wed, 16 Aug 2023 12:44:41 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qWDAw-00674o-HG; Wed, 16 Aug 2023 11:50:50 +0200 From: Geert Uytterhoeven To: Laurent Pinchart , Kieran Bingham , David Airlie , Daniel Vetter , Thomas Zimmermann , Magnus Damm Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Laurent Pinchart Subject: [PATCH v3 09/41] drm: renesas: shmobile: Use %p4cc to print fourcc code Date: Wed, 16 Aug 2023 11:50:16 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace the last printing of an hexadecimal fourcc format code by a pretty-printed format name, using the "%p4cc" format specifier. Signed-off-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart --- v3: - No changes, v2: - Add Reviewed-by. --- drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c | 4 ++-- 1 file 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 7e49e2873da1bb6f..36fedb2b74c8b7a2 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; } -- 2.34.1