Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4435622rdb; Fri, 15 Sep 2023 01:59:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGfmet17iXGUp6c0GgxOqc4r3MaYhe8DqJMSlUrJU1n6hCtxaZG3X+3zXfH9x9ymxqtcyU X-Received: by 2002:a05:620a:560c:b0:767:915a:ccf6 with SMTP id vu12-20020a05620a560c00b00767915accf6mr838894qkn.65.1694768373201; Fri, 15 Sep 2023 01:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694768373; cv=none; d=google.com; s=arc-20160816; b=yV9Ex8lNy/tOsPJh8CG/LxNVx7spzB7LRCEHSpjup9m0NnvFOndb4EJmKQOF3eNHZ1 EvcLPjhjk4gMiXT5F9gBPkTLN6qtRJZejqgYxyEdvm3IFNq0S2lMldnTayW9kf51BqZ0 Fdn7uu5DpUv0deF4JcndwLKlfPvUMou96CEd6SYqCJ6BUeXIQZIRJLije0dHT9ceMMZO LqUffYE1vL/GbuVhisGdCE5XQoZX8irE/u4X0m33DaBVKJ91P+ZCtG6QbYNfVA4xCLve jFD52Wt6oxSUxlqPxUV19SducvbA5FMNh1e2JwjjOhiexLZhw7l/95qBW5/iwwv5cxqD JrVw== 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=BvWfU1tODmBhTFUxFGfzFY1GCNA5wmtWppshxOKeU4c=; fh=KH8HnsdO2yip8Q9uuYy0FWJVbOcjQeNq7C+3VKM5Hzg=; b=qeBtTTZqDTXWQOqZBlYO1yd9hi9/qFJzGfuCtpnFDBoL1EJ0m6nlWi0XB8qCnGCS/F wEKfFk2WOi1l8IwsO/AQNfgqvnO7g2BSjFvoqfJVHyFfe8B0oyf/RWW1rUn4jm/hAfwG uie6+zQ8NsKHfhwne+b6JRkY35mk1AzZAYnq0fAPx8ZXg4lUID7arpqcghnMcjuMmLG/ DRTK9pcKdSOeCX4sE6mNzo9/5x9waobEO/GuWg2R70dCwak22eZB/Ewgzev0Ab+tMHLw d0qwqxKvwDNIlncFofJA426aumTM0uqKV4snMzYvXIVwuGIYWGDDonB5iZ2rdHDRsA+V 9Drg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id m14-20020a637d4e000000b00563f4e46f7esi2811521pgn.287.2023.09.15.01.59.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:59:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C989D80C5A2B; Fri, 15 Sep 2023 01:56:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233655AbjIOIze (ORCPT + 99 others); Fri, 15 Sep 2023 04:55:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233356AbjIOIyc (ORCPT ); Fri, 15 Sep 2023 04:54:32 -0400 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46E462D55 for ; Fri, 15 Sep 2023 01:54:18 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:7135:da8b:ba1d:1a7c]) by xavier.telenet-ops.be with bizsmtp id m8uE2A00V3q21w7018uElU; Fri, 15 Sep 2023 10:54:16 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qh4aJ-003lGR-B0; Fri, 15 Sep 2023 10:54:14 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qh4ac-00GdbK-Au; Fri, 15 Sep 2023 10:54:14 +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 v4 09/41] drm: renesas: shmobile: Use %p4cc to print fourcc code Date: Fri, 15 Sep 2023 10:53:24 +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=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:56:27 -0700 (PDT) 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 --- v4: - No changes, 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