Skip to content

Commit 1d28122

Browse files
Uwe Kleine-Königpmladek
authored andcommitted
checkpatch: don't warn about new vsprintf pointer extension '%pe'
This extension was introduced in commit 57f5677 ("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]>
1 parent 9d95f0c commit 1d28122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/checkpatch.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5995,7 +5995,7 @@ sub process {
59955995
while ($fmt =~ /(\%[\*\d\.]*p(\w))/g) {
59965996
$specifier = $1;
59975997
$extension = $2;
5998-
if ($extension !~ /[SsBKRraEhMmIiUDdgVCbGNOxt]/) {
5998+
if ($extension !~ /[SsBKRraEehMmIiUDdgVCbGNOxt]/) {
59995999
$bad_specifier = $specifier;
60006000
last;
60016001
}

0 commit comments

Comments
 (0)