contrib/checkpatch: fix the systemd code path
This commit is contained in:
@@ -167,7 +167,7 @@ if ($filename !~ /\.[ch]$/) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
next if $filename =~ /\/nm-[^\/]+-enum-types\.[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 =~ /\/sd-adapt\//
|
||||||
and not $filename =~ /\/nm-/;
|
and not $filename =~ /\/nm-/;
|
||||||
next if $filename =~ /\/(n-acd|c-list|c-siphash|n-dhcp4)\//;
|
next if $filename =~ /\/(n-acd|c-list|c-siphash|n-dhcp4)\//;
|
||||||
|
Reference in New Issue
Block a user