summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-07-08 13:00:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-07-11 10:24:06 +0200
commitae815e4e7159ed8edfc6ec9714cc6cb625edc802 (patch)
treeea582052cb351dd3c473cd2eff3ac8ce53631a0b
parent056275f60abd2100a5c75bebee5790d35e2f9807 (diff)
downloadbarebox-ae815e4e7159ed8edfc6ec9714cc6cb625edc802.tar.gz
barebox-ae815e4e7159ed8edfc6ec9714cc6cb625edc802.tar.xz
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 <j.zink@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220708110012.410905-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 36e3d768f3..dccc3c3fe7 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;
}