summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorMatheus Tavares Bernardino2022-09-20 15:42:28 +0200
committerLaurent Vivier2022-09-29 21:20:41 +0200
commit321b0ca353a2cb568ed7807ff6b64ad97101ee1e (patch)
tree9ed28dc7b663cf9f1e8356a1d0bd84b0d3028e36 /scripts/checkpatch.pl
parentmem/cxl_type3: fix GPF DVSEC (diff)
downloadqemu-321b0ca353a2cb568ed7807ff6b64ad97101ee1e.tar.gz
qemu-321b0ca353a2cb568ed7807ff6b64ad97101ee1e.tar.xz
qemu-321b0ca353a2cb568ed7807ff6b64ad97101ee1e.zip
checkpatch: ignore target/hexagon/imported/* files
These files come from an external project (the hexagon archlib), so they deliberately do not follow QEMU's coding style. To avoid false positives from checkpatch.pl, let's disable the checking for those. Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com> Message-Id: <e3b6a345a88807a1c4daa45f638b2a90af538fd5.1663681339.git.quic_mathbern@quicinc.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index d900d18048..e3e3b43076 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1667,6 +1667,7 @@ sub process {
# some scripts we imported from other projects.
next if ($realfile =~ /\.(s|S)$/);
next if ($realfile =~ /(checkpatch|get_maintainer)\.pl$/);
+ next if ($realfile =~ /^target\/hexagon\/imported\/*/);
if ($rawline =~ /^\+.*\t/) {
my $herevet = "$here\n" . cat_vet($rawline) . "\n";