summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/scripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/scripts/checkpatch.pl b/contrib/scripts/checkpatch.pl
index a6942d53b5..0b014e780f 100755
--- a/contrib/scripts/checkpatch.pl
+++ b/contrib/scripts/checkpatch.pl
@@ -167,7 +167,7 @@ if ($filename !~ /\.[ch]$/) {
}
next if $filename =~ /\/nm-[^\/]+-enum-types\.[ch]$/;
-next if $filename =~ /\bsrc\/systemd\//
+next if $filename =~ /\b(shared|src)\/systemd\//
and not $filename =~ /\/sd-adapt\//
and not $filename =~ /\/nm-/;
next if $filename =~ /\/(n-acd|c-list|c-siphash|n-dhcp4)\//;