Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3011840ybc; Thu, 14 Nov 2019 02:37:41 -0800 (PST) X-Google-Smtp-Source: APXvYqwV5mDM7xJN8VQoOHbnNNwx4dWPymTvwSfgVbDLIURhsh0+8kQf/7/p01U2ayDH/cC9wgvT X-Received: by 2002:a17:906:4e94:: with SMTP id v20mr7809879eju.34.1573727860948; Thu, 14 Nov 2019 02:37:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573727860; cv=none; d=google.com; s=arc-20160816; b=orusel7cMUjpk59lN4kR709A2chQ2yfXAYsXYNUyWXsJIQUjQOX8w+rEukmnsjdDmF iVJ3ZRQm0nBgkccGKmEs/Y8gvf/tMvej1KH0e0afJ+3aBl6qqkI05vlKiEvmLX9PkWKO HOVIwB6RA9EPlYxyXwr/lnokFUHtzmQdmUTX3XzJ2/HamHPzwUvVy5nRkNWWsZMIC2Lt NBBRL/q+4bnH8i22np0yr2XE5iVtGKgAW8jLYMLJ8mM1EfY4ptPmm/LxGZaoy4wjLbgs Zga0LS68prJeMAPA3r8hKuZCnHpEllPJLO+fsLO7cXauYOpCRDRad3NIfNQxRXh/8EPs vFuA== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=rk31dS4DoE7kDnXbf2dsYWZlZo647a+i1XzmySY6dzo=; b=ttLpSMGP4hwQek87K4Ni4sdvkCkdb1iWq4m1N9vsxqRFLJjovA2MjnLR8AxpawBwfD 7+BtIcZMa7gi3jn0++DTDqqKLMS/s6tvqOghlxqxZzl7uaDG25aeIlTjZeun3Ti9z4J0 PcICKepqn9yoKv0YYsX6qv9n99n0T/EoylbpPPBlgtQiF+rwR7niAcrGX0F8thM8Ut7j xXNpgQZy1XJd1NPD21Ddi452biLvs7QQ16jzwq5FaYNDP8r6K1i/hOhX68qgNoA854US Wn28Yw8oc8k9YxvIF0jHy5ga6GCkrgF9WsIrOK9IRHmZsCMNPFoy9RY7Xoy13/Gr8KA+ CG+w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d30si3663882edj.289.2019.11.14.02.37.16; Thu, 14 Nov 2019 02:37:40 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726516AbfKNKd6 (ORCPT + 99 others); Thu, 14 Nov 2019 05:33:58 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:43785 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbfKNKd6 (ORCPT ); Thu, 14 Nov 2019 05:33:58 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iVCRj-00027f-Rr; Thu, 14 Nov 2019 11:33:51 +0100 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1iVCRi-0000a9-3i; Thu, 14 Nov 2019 11:33:50 +0100 Date: Thu, 14 Nov 2019 11:33:50 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Petr Mladek Cc: Andy Whitcroft , Joe Perches , Rasmus Villemoes , Andy Shevchenko , linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH] checkpatch: don't warn about new vsprintf pointer extension '%pe' Message-ID: <20191114103350.z3fe4vzgepsb52y6@pengutronix.de> References: <20191114100416.23928-1-u.kleine-koenig@pengutronix.de> <20191114102440.msyuahilbagaz7aw@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191114102440.msyuahilbagaz7aw@pathway.suse.cz> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 14, 2019 at 11:24:40AM +0100, Petr Mladek wrote: > On Thu 2019-11-14 11:04:16, Uwe Kleine-K?nig wrote: > > This extension was introduced in commit 57f5677e535b ("printf: add > > support for printing symbolic error names"). > > Great catch! It wasn't hard to catch. checkpatch pelted me with bogus warnings when I started to make use of %pe :-) > > Signed-off-by: Uwe Kleine-K?nig > > --- > > scripts/checkpatch.pl | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > > index 6fcc66afb088..31cd9b767c1e 100755 > > --- a/scripts/checkpatch.pl > > +++ b/scripts/checkpatch.pl > > @@ -6022,7 +6022,7 @@ sub process { > > while ($fmt =~ /(\%[\*\d\.]*p(\w))/g) { > > $specifier = $1; > > $extension = $2; > > - if ($extension !~ /[SsBKRraEhMmIiUDdgVCbGNOxt]/) { > > + if ($extension !~ /[SsBKRraeEhMmIiUDdgVCbGNOxt]/) { > > I am going to push it into printk.git. I will just change the ordering > "eE" -> "Ee". So that it follows the existing convention. Fine for me. Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | https://www.pengutronix.de/ |