aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2019-11-14 11:04:16 +0100
committerPetr Mladek <[email protected]>2019-11-14 14:53:53 +0100
commit1d28122131b263f169a7f2d288178a56c69ee076 (patch)
tree60143ea1892a9c628f4ba9b10d83df404f65c57f
parent9d95f0ce36df70e6d7b1f658277c772f589acd84 (diff)
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/[email protected] To: Andy Whitcroft <[email protected]> To: Joe Perches <[email protected]> To: Andy Shevchenko <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Rasmus Villemoes <[email protected]> [[email protected]: Switched the ordering: eE -> Ee] Signed-off-by: Petr Mladek <[email protected]>
-rwxr-xr-xscripts/checkpatch.pl2
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;
}