Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7096717rwp; Tue, 18 Jul 2023 10:00:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlHLbfGp6qcjbURRlKGKqAU5ZxhsE6+mjvQhtQBpTwoIH1yh8glaIQb6HEC128zXeEkZKM96 X-Received: by 2002:a05:651c:2109:b0:2b7:34c0:a03a with SMTP id a9-20020a05651c210900b002b734c0a03amr7879544ljq.3.1689699607963; Tue, 18 Jul 2023 10:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689699607; cv=none; d=google.com; s=arc-20160816; b=cols34PO/e2r8hjVGT7BZEFLyHHtyLw6irhF64jBMo5PyicBA48Kia6SxURELkm+fD AQG0f3xGtZfPF3V6QHVbgHOJKT8+WifdOyQgPESyHNV0QR8LIsQe1ExRrkIN/diV2c0w vCeh/uybI8IToRZ2vo8xH5bzTt/yF06jee02n0Yvb6ufVBoJ7va+4m9EXAj3FtljN6Az iCbOA0PhnJzS0udd+RB+wj6d91uwLLa9pcCLDAXzViHm+vOwd1uySglKw23bv/kWHYJx fF0KLsm2BTKe1BRWmVbqCeKJ/xZgbv8LrdK4HdGhs8oOcbU/TEZ4tJGZDfLf9JPDHFPS gJfQ== 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=gk8h3VG4CbPakaMRu18G8g0h3+xPt6yauvVK4utNmPc=; fh=Ople2ijcDVdvBJwvAg2RvyZp0qNZK7It46SN0LxlrVk=; b=O04oULw58Uh0VZYS8bHZkqyfJllpiJY+cigQ6E/8si8kO2rLKRo4T6cGFpGxytdgPV YzTVTsU1yRKINZvoXtOH1K/dzcahAkb0Cuuiww4GX+Mnjop1v20IfNjJW34lZ6Y4ygNe KuuMlvj1Sw1n1nKCJMF8nyn1glh+i3Qq/CWkMCZonPKZwoJ8qV37sP0rx+KatTWSEWE/ 9JTVkehWvgs4ireCZ3HAfncZZ+FJyfAstp77EVEmzLe7NSCWVjbvW6wkEMxMbSTcEp29 mnXwDUYH/U1sv+HZpUST0T5uy3GJtwOT8RFcSrfcYbHM+MFMd4grluWi7WjBNDjtx0Uk rQ+w== 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 n8-20020a170906118800b00997e71d037csi749442eja.618.2023.07.18.09.59.43; Tue, 18 Jul 2023 10:00:07 -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 S233669AbjGRQ5T (ORCPT + 99 others); Tue, 18 Jul 2023 12:57:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232633AbjGRQzO (ORCPT ); Tue, 18 Jul 2023 12:55:14 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0335E173D for ; Tue, 18 Jul 2023 09:54:54 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5803:2d6d:5bbc:e252]) by baptiste.telenet-ops.be with bizsmtp id Ngur2A00G0ucMBo01gurDG; Tue, 18 Jul 2023 18:54:52 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qLnyD-001nY1-6K; Tue, 18 Jul 2023 18:54:51 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qLnyN-000gbn-7S; Tue, 18 Jul 2023 18:54:51 +0200 From: Geert Uytterhoeven To: Laurent Pinchart , Kieran Bingham , David Airlie , Daniel Vetter , Thomas Zimmermann , Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Laurent Pinchart Subject: [PATCH v2 09/41] drm: renesas: shmobile: Use %p4cc to print fourcc code Date: Tue, 18 Jul 2023 18:54:14 +0200 Message-Id: <90aaa3ebdb2bdce1d1f259cb8dc6c28890dc652a.1689698048.git.geert+renesas@glider.be> 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=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 --- 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