Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1381458ybl; Wed, 28 Aug 2019 13:53:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEn3b4TVN4LJZK0LeYDOK3udgPnPZz1vK+XmJpr9G2vqiGhWuP+7Q5dAoNQxJcQ59m4+59 X-Received: by 2002:a62:7789:: with SMTP id s131mr7003451pfc.50.1567025612757; Wed, 28 Aug 2019 13:53:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567025612; cv=none; d=google.com; s=arc-20160816; b=uogpnw0ZhrJYgktxivMedCbCki3K8YCXZflk/q4keynuzJfpgmbGjqA8CcbViISGMx Ba+wMX/P/DeqNcEdbdTyKCcKDq7tVid5W7hgj7Q2yL+KjYvNWD7Zs7rDev9sTrKfCguO wIAjh2HqfH070uVbsWF3mXZIWBcx5GXRt33vYYcov9CKGPzyJK2J138s9hQNm6zyLAlW eT0v8sCEH93xOlr3hx83d4qHL+vfoAhhY9OcvthBhPe+qC2WgToZaxdMNd1aWUcDpEUM mI9IIKX50nyWb+PrhcbHK6DARglC3kYGN3+MlocRnBkScylr51ON1olA2HvhlxdLSJOc UpLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=AVPMlOp8TwCm/B2SRGvb8TqqWHTIVFeNesWs0ES1bTo=; b=v8i62p7/ryxae0pQPu1QCURVBkMnqdVPat+8gW71M+Zh67Pn8l42MQOj7F2ibfAyu3 3lNSAOZQ8upio9mT1Y50znoVFCSs+LujSJM2r8DJ/GnuPnSWSDta1E4uctdc6m7L9wJq mZjfVPmeB3II8B/5/W9KdOpJO45oNQYUs8K4YU6jhy+gmnQoJQp+IKJuihFZXaU9KH2Z IUH+a259Di53fSNPjaEOO+TUKl76/4xxpXPnqsY1NasQ4pdRDHk3Q0r6ImOkTxUdK2FM JLjMCLiXNRm8dI8oM3VmisdlFDCR/P3NyLCDxY0Lsy+ce+y6Noz1pSrUyyTPnxIzLtQz BsEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=U0LY1DVw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t3si202510pfe.259.2019.08.28.13.53.16; Wed, 28 Aug 2019 13:53:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=U0LY1DVw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726980AbfH1UwL (ORCPT + 99 others); Wed, 28 Aug 2019 16:52:11 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:46126 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726616AbfH1UwL (ORCPT ); Wed, 28 Aug 2019 16:52:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AVPMlOp8TwCm/B2SRGvb8TqqWHTIVFeNesWs0ES1bTo=; b=U0LY1DVwfDBtZbUe0Wc7XT4Ng eCRauOI5QxY0qSLsBU4KORFmyGsMTdxvGzuOU8RjfgSgx5S/hvbfapnWuWyfFc/D/gKB/EUS04bpr mrniz7hKRyE9sme4i34895JH8F21VNuwuXOR3UY5syKdXgblQp+mxa7l5JRhHKhwKbiPE=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=ypsilon.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i34ux-0006c6-1Y; Wed, 28 Aug 2019 20:51:47 +0000 Received: by ypsilon.sirena.org.uk (Postfix, from userid 1000) id 66E042742B61; Wed, 28 Aug 2019 21:51:44 +0100 (BST) Date: Wed, 28 Aug 2019 21:51:44 +0100 From: Mark Brown To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Andrew Morton , Jani Nikula , "Enrico Weigelt, metux IT consult" , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandre Belloni Subject: Re: [PATCH v2] vsprintf: introduce %dE for error constants Message-ID: <20190828205144.GK4298@sirena.co.uk> Mail-Followup-To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Andrew Morton , Jani Nikula , "Enrico Weigelt, metux IT consult" , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandre Belloni References: <20190827211244.7210-1-uwe@kleine-koenig.org> <20190828113216.p2yiha4xyupkbcbs@pathway.suse.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="J2pR2RtFp0tAjF3C" Content-Disposition: inline In-Reply-To: X-Cookie: Oatmeal raisin. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --J2pR2RtFp0tAjF3C Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 28, 2019 at 09:59:16PM +0200, Uwe Kleine-K=F6nig wrote: > On 8/28/19 1:32 PM, Petr Mladek wrote: > > Please, do the opposite. Add conversion of few subsystems into the > > patchset and add more people into CC. We will see immediately whether > > it makes sense to spend time on this. > For now I asked in the arm linux irc channel and got two people replying > (both added to Cc:): > Mark Brown (maintainer of SPI, regmap, ASoC and regulator) said: > 1567019926 < broonie> ukleinek: I think that's a great idea and have > thought about trying to implement it in the past. > 1567019937 < broonie> ukleinek: Making the logs more directly readable > is enormously helpful. In the past I've actually implemented error code decoders like this for some other systems I've worked on due to annoyance with having to look up codes, as far as I can tell they went over quite well with other developers and I certainly found them helpful myself. They're also useful to end users looking at logs, they're not always aware of how to find the relevant error code definitions so a slightly more descriptive messages can help people figure things out. It does also occur to me that this might be useful to the people who want to work on making probe deferral quieter since it gives them an annotation that the number going in is an error code. There's a bunch more work to do there though. --J2pR2RtFp0tAjF3C Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl1m6V8ACgkQJNaLcl1U h9ADqAf8DQNAwWvUmNzD11savIMgUa9QDovvhuNqbDJ68y+q3/MNqqtULyxlM9EU ddDFK42VpctrmBRfQAKOxk+IuKGL3sPKFZhlSzc2Ilgbprj/A+4Jat91LxYZGZDZ OZarYQg0PoIrdzHWNjuCstvvklJktdoZ7bG5JHTootFTCfHRRaahp60OPtHa9Fiv BLee/u09Tk2bO8X9kfXs+EW6ETPYxlXffZxbbkU7jGVa9sS4/6YBjSFxI864k6b/ BfxgfFnV0H4Kva/dSYOEaP9Z37uScY4bs/0AY/eOeOJBodYMvAK+u3SJKPAZzIuG JY6qO/tG/EcNAWFwnP+abgvmgahxNg== =6V5A -----END PGP SIGNATURE----- --J2pR2RtFp0tAjF3C--