aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2022-02-07 11:47:30 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2022-03-02 09:12:47 +0200
commit9653d8e814708a69c1aac3e7e73396c6e9266fd0 (patch)
treeaf04f1151d2910b58ab917d2b3f0edfe767b80f1 /scripts
parent302ebc58f494fbde9a3ec7af10eb73bce9b588a2 (diff)
checkpatch: ignore camel case warnings from PRIuPTR
Disable warnings from PRIuPTR usage. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 55fc74597..83bdf378c 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -5560,6 +5560,7 @@ sub process {
$var !~ /^(?:Clear|Set|TestClear|TestSet|)Page[A-Z]/ &&
#ODP ignores
$var !~ /\bCU_/ &&
+ $var !~ /\bPRI[diux]PTR/ &&
$var !~ /\bPRI[diux]8/ &&
$var !~ /\bPRI[diux]16/ &&
$var !~ /\bPRI[diux]32/ &&