diff options
author | Matheus Tavares Bernardino <quic_mathbern@quicinc.com> | 2022-09-20 10:42:28 -0300 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-09-29 21:20:41 +0200 |
commit | 321b0ca353a2cb568ed7807ff6b64ad97101ee1e (patch) | |
tree | 9ed28dc7b663cf9f1e8356a1d0bd84b0d3028e36 /scripts | |
parent | c6cc866c0eaab1deddea21bf0b386730ed71bb97 (diff) |
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')
-rwxr-xr-x | scripts/checkpatch.pl | 1 |
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"; |