aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLifang Zhang <lifang.zhang@nokia.com>2023-12-03 04:15:37 +0200
committerMatias Elo <matias.elo@nokia.com>2024-02-21 16:08:18 +0200
commit472da6b66b3c4cc49bc075cd201b09a3a65e3ef2 (patch)
tree5a81c1f6b9972c9c3da211a339d673626d86611f
parent5d1df18874b2d87e5973e3ecacbb54caf4407bbe (diff)
checkpatch: skip checking onnxruntime Camelcase use
Skipped checking onnxruntime Camelcase use. Signed-off-by: Lifang Zhang <lifang.zhang@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
-rwxr-xr-xscripts/checkpatch.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 9e6d8d750..71af1c682 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -5855,6 +5855,9 @@ sub process {
$var !~ /\bSCN[diux]16/ &&
$var !~ /\bSCN[diux]32/ &&
$var !~ /\bSCN[diux]64/ &&
+#Ignore onnxruntime CamelCase usage
+ $var !~ /\bOrt*/ &&
+ $var !~ /\bort_api->*/ &&
#Ignore ETHTOOL_LINK_MODE_<foo> variants
$var !~ /^ETHTOOL_LINK_MODE_/ &&
#Ignore SI style variants like nS, mV and dB