]> Git Repo - linux.git/commitdiff
checkpatch: don't warn about new vsprintf pointer extension '%pe'
authorUwe Kleine-König <[email protected]>
Thu, 14 Nov 2019 10:04:16 +0000 (11:04 +0100)
committerPetr Mladek <[email protected]>
Thu, 14 Nov 2019 13:53:53 +0000 (14:53 +0100)
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]>
scripts/checkpatch.pl

index 342c7c781ba5a663d4cadb50ac7cd6b8d76dfd0b..f6a5a48e92c2df0e3ba591f726d14f31892f6fb5 100755 (executable)
@@ -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;
                                        }
This page took 0.068326 seconds and 4 git commands to generate.