[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b772463a1c6e5ebb1677bebac30737c60f27a3e5.camel@perches.com>
Date: Thu, 14 Mar 2019 13:43:49 -0700
From: Joe Perches <joe@...ches.com>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>,
Andy Whitcroft <apw@...onical.com>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] checkpatch: add %pt as a valid vsprintf extension
On Thu, 2019-03-14 at 21:37 +0100, Alexandre Belloni wrote:
> Commit 4d42c44727a0 ("lib/vsprintf: Print time and date in human readable
> format via %pt") introduced a new extension, %pt. Add it in the list of
> valid extensions.
Thanks.
Andrew, can you please pick this up?
> Signed-off-by: Alexandre Belloni <alexandre.belloni@...tlin.com>
> ---
> scripts/checkpatch.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index b737ca9d7204..35851755fbda 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -5949,7 +5949,7 @@ sub process {
> while ($fmt =~ /(\%[\*\d\.]*p(\w))/g) {
> $specifier = $1;
> $extension = $2;
> - if ($extension !~ /[SsBKRraEhMmIiUDdgVCbGNOx]/) {
> + if ($extension !~ /[SsBKRraEhMmIiUDdgVCbGNOxt]/) {
> $bad_specifier = $specifier;
> last;
> }
Powered by blists - more mailing lists