Skip to content

Commit

Permalink
checkpatch: ignore target/hexagon/imported/* files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
quic-mathbern authored and vivier committed Sep 29, 2022
1 parent c6cc866 commit 321b0ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/checkpatch.pl
Expand Up @@ -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";
Expand Down

0 comments on commit 321b0ca

Please sign in to comment.