checkpatch: don't warn about %pe
PATCH 1/1 checkpatch: don't warn about %pe
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(-)
scripts/checkpatch.pl +1 -1
@@ -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; }
Signature · 1 line
2.30.2
Sascha Hauer
AppliedQuoted 9 lines · Ahmad Fatoum
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(-)
Applied, thanks
Sascha
Quoted 19 lines
scripts/checkpatch.pl +1
-1@@ -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; }Signature · 1 line
2.30.2
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |