diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2019-11-14 13:04:16 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2019-11-14 16:53:53 +0300 |
commit | 1d28122131b263f169a7f2d288178a56c69ee076 (patch) | |
tree | 60143ea1892a9c628f4ba9b10d83df404f65c57f /scripts/checkpatch.pl | |
parent | 9d95f0ce36df70e6d7b1f658277c772f589acd84 (diff) | |
download | linux-1d28122131b263f169a7f2d288178a56c69ee076.tar.xz |
checkpatch: don't warn about new vsprintf pointer extension '%pe'
This extension was introduced in commit 57f5677e535b ("printf: add
support for printing symbolic error names").
Link: http://lkml.kernel.org/r/20191114100416.23928-1-u.kleine-koenig@pengutronix.de
To: Andy Whitcroft <apw@canonical.com>
To: Joe Perches <joe@perches.com>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: linux-kernel@vger.kernel.org
Cc: kernel@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
[pmladek@suse.com: Switched the ordering: eE -> Ee]
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 342c7c781ba5..f6a5a48e92c2 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -5995,7 +5995,7 @@ sub process { while ($fmt =~ /(\%[\*\d\.]*p(\w))/g) { $specifier = $1; $extension = $2; - if ($extension !~ /[SsBKRraEhMmIiUDdgVCbGNOxt]/) { + if ($extension !~ /[SsBKRraEehMmIiUDdgVCbGNOxt]/) { $bad_specifier = $specifier; last; } |