We have been supporting %pe since commit 91084b450226 ("vsprintf:
add %pe format specifier for printing symbolic error names").
checkpatch.pl was still warning about this, fix that.

Reported-by: Johannes Zink <[email protected]>
Signed-off-by: Ahmad Fatoum <[email protected]>
---
 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 36e3d768f39d..dccc3c3fe79b 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -5981,7 +5981,7 @@ sub process {
                                while ($fmt =~ /(\%[\*\d\.]*p(\w))/g) {
                                        $specifier = $1;
                                        $extension = $2;
-                                       if ($extension !~ 
/[SsBKRraEhMmIiUDdgVCbGNOxt]/) {
+                                       if ($extension !~ 
/[SsBKRraEehMmIiUDdgVCbGNOxt]/) {
                                                $bad_specifier = $specifier;
                                                last;
                                        }
-- 
2.30.2


Reply via email to