From c694a8c9352fd32e89c019c44f2ca32c92213928 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 10 Sep 2019 10:58:31 +0200 Subject: [PATCH] contrib/checkpatch: fix the systemd code path (cherry picked from commit ae6668ae85d313b028f9e14e21fb81a050ad01b5) (cherry picked from commit 24d40570a7560a70fae1896352e7d28b6249a235) --- contrib/scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/scripts/checkpatch.pl b/contrib/scripts/checkpatch.pl index f50b37d413..a61bc10be0 100755 --- a/contrib/scripts/checkpatch.pl +++ b/contrib/scripts/checkpatch.pl @@ -178,7 +178,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)\//;