summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/scripts/checkpatch.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/scripts/checkpatch.pl b/contrib/scripts/checkpatch.pl
index f9ad95dda0..62507aa219 100755
--- a/contrib/scripts/checkpatch.pl
+++ b/contrib/scripts/checkpatch.pl
@@ -118,6 +118,10 @@ if ($is_file and $filename ne $ARGV) {
next unless $filename =~ /\.[ch]$/;
next if $filename =~ /\/nm-[^\/]+-enum-types\.[ch]$/;
+next if $filename =~ /\bsrc\/systemd\//
+ and not $filename =~ /\/sd-adapt\//
+ and not $filename =~ /\/nm-/;
+next if $filename =~ /\/(n-acd|c-list|c-siphash)\//;
complain ('Tabs are only allowed at the beginning of a line') if $line =~ /[^\t]\t/;
complain ('Trailing whitespace') if $line =~ /[ \t]$/;