Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4835234pxb; Tue, 28 Sep 2021 05:18:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzReFEIVzVDOpHeVdURTwR+qLsIIdpRfNmK5K19TbZzd7Xk6soFm4gjIJ+4XgNURRjPYNcK X-Received: by 2002:a17:907:7675:: with SMTP id kk21mr4715510ejc.114.1632831514499; Tue, 28 Sep 2021 05:18:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632831514; cv=none; d=google.com; s=arc-20160816; b=M7+NUkEf+Lhbc1RXPtjT32waW01cVq/m9H4+4vvSChyk7MbqxWORacXgWdbirb6lEu hdRj2eWO6kNzaqyaV2LSYtombfiWnVP4WA/DmhG2Wqpl5cnyTqpDVi3LIQkZQAubW9cq VrNoHstJnfzhjBDblWXOpLpcCJl+uSmu5ApZXzryvkNQMpd5PGIhXKJVg0YplTfJC8bO 55TpEeBlHVI3BKI+UuaCvQmGK/4i9qk3Rb5Lia3i572V5sBKnMtPioL5Ww+wLeg0y89X MgEpFv6WRN/+XNHHWk/BXDG2mAp7+YLoVP3lPdbUpTazW/nzL3ufX2fy5+RX3pm2gPwV sBug== 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:to:from; bh=D3lsqySTAHcpE3Iki9//hQbNdsaJwHDACkC2ILzDAA8=; b=dI0yEK6865AUIzAa2xlIod4F8iiw1BQcXLbCZgmBN3vR8v6y5PAQEBp+mDekxifGkZ rZ9O+Tuygh8soGKH/rXemqRt40rf3Pk9UHGjcnPduHQrNF7B0GDIKfgYeMBS2P4QeWKN 5+hozxcOj5ZpZn1HfSo2QvJ458SdL4aWluACZQzY+mQoiosSFwgWtdRRA2xNejiz2Nwg 7a2yfEeJhYLD2eR0mt4gmi2rhoEyfs9+j+odcub0DWhPmIsMOACkwXs8Q0gB8YpDyaAW b5LJ3/2KVloE8eLEgZ+6CsT2dFMnOrX48l2LlaAS4E5v/hAZcqpv/fkN9YpMavc+vWh/ ZhgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c19si24976182ede.102.2021.09.28.05.18.08; Tue, 28 Sep 2021 05:18:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240586AbhI1MSR (ORCPT + 99 others); Tue, 28 Sep 2021 08:18:17 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:46314 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240495AbhI1MSL (ORCPT ); Tue, 28 Sep 2021 08:18:11 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id F13ABFB05; Tue, 28 Sep 2021 14:16:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TRShXVeNEEJS; Tue, 28 Sep 2021 14:16:19 +0200 (CEST) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Marek Vasut , Stefan Agner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Thierry Reding , Sam Ravnborg , Ondrej Jirman , Lucas Stach , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 1/5] drm: mxsfb: Print failed bus format in hex Date: Tue, 28 Sep 2021 14:16:08 +0200 Message-Id: <0c214b69fba08f40372b2add044892fcb0ed9c35.1632828477.git.agx@sigxcpu.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org media-bus-formats.h has them in hexadecimal as well so matching with that file saves one conversion when debugging. Signed-off-by: Guido Günther --- drivers/gpu/drm/mxsfb/mxsfb_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mxsfb/mxsfb_kms.c b/drivers/gpu/drm/mxsfb/mxsfb_kms.c index af6c620adf6e..d6abd2077114 100644 --- a/drivers/gpu/drm/mxsfb/mxsfb_kms.c +++ b/drivers/gpu/drm/mxsfb/mxsfb_kms.c @@ -89,7 +89,7 @@ static void mxsfb_set_formats(struct mxsfb_drm_private *mxsfb, ctrl |= CTRL_BUS_WIDTH_24; break; default: - dev_err(drm->dev, "Unknown media bus format %d\n", bus_format); + dev_err(drm->dev, "Unknown media bus format 0x%x\n", bus_format); break; } -- 2.33.0