Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3391235pxb; Mon, 4 Oct 2021 01:01:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+pYHP0fTSKCi/t/JV0UeHO6VVyEfiKdRNAP/7g3I10mlewMasg/VA+n4CkEWMWEyAWl0h X-Received: by 2002:a17:90b:3844:: with SMTP id nl4mr7449442pjb.168.1633334494608; Mon, 04 Oct 2021 01:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633334494; cv=none; d=google.com; s=arc-20160816; b=FTKlnX///7LtdeL74+mpyI+SoI2ZAqJyH3NNrdIpBr0zWz0ue6bx71Gue+KBo4xVoL ud9Ir4ZIxPmd7s491caEB8SHazFaWNtGPUz7yHfSy6SKedkevjkXKv81BpWAyEFy++fp eWMG8hsNX6mAvxLSV0FZdtrKnNEKTgEJesAEoVyAgCoH+b0OGMwqlSzwZFW6S+m99oL/ ZPPb0YZTb3hRNxHQLaZFzDjTsUiKxtE1f2kNncWMBDZtgsstKwv+85M+NUrJJcjqgQBu YswL+t5lzCHP9lH6uKP+GxrrXtAVmh/B5B9ZkBr5Tm9QjbvRvv2ShOylpyKiQ8mnWhrz qITQ== 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 :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=X1zwkuHla1HNtpZFleAr+tvJsbwM1DgEhsl0+GYLK8w=; b=S7NZU9Wax50TM76E/GT2Y8xWuPry5iDRlQzR4+uiBFaYIYTFWb0q5e2BW2s1Qhne6J sllFttSJlQfijcSuwTVP8vzy9rK49XltBrjF800H2U1EghDE1nSbFnZt+D/+RdGDMLTa 0qKkgivS5E5kj+0yWiuhSvP/wEgXOOaGgUoXEUr1shKWH9+JH+mgQyFTJ3AHlPHHx73w rm1Bic2RSBTFRgqusyI7JNHnIAJdCJOz5fu4vURPtIexR3+hddu79ZyLISIrFs7JJM9n 3snekG1Yj4rbWqO2UqKSIZvr5BsXqlLpDaHBEHa6I8xmUnv5wOEz+GYWcZ5M6uijT1CP MGAA== 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 l62si10282304pge.621.2021.10.04.01.01.20; Mon, 04 Oct 2021 01:01: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 S230408AbhJDH5x (ORCPT + 99 others); Mon, 4 Oct 2021 03:57:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbhJDH5w (ORCPT ); Mon, 4 Oct 2021 03:57:52 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C62E2C061745 for ; Mon, 4 Oct 2021 00:56:03 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mXIp5-0001Ev-7T; Mon, 04 Oct 2021 09:55:43 +0200 Message-ID: <82a29b16ee67595051e370c347ef200b944287b0.camel@pengutronix.de> Subject: Re: [PATCH v2 4/5] drm: mxsfb: Print failed bus format in hex From: Lucas Stach To: Guido =?ISO-8859-1?Q?G=FCnther?= , 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 , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Mon, 04 Oct 2021 09:55:40 +0200 In-Reply-To: <6aa02e373184c155d6e09ef5d1a4d33debec80fb.1633332399.git.agx@sigxcpu.org> References: <6aa02e373184c155d6e09ef5d1a4d33debec80fb.1633332399.git.agx@sigxcpu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 (3.40.4-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, dem 04.10.2021 um 09:27 +0200 schrieb Guido Günther: > 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 Reviewed-by: Lucas Stach > --- > 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; > } >