From: Frantisek Sumsal Date: Wed, 4 Mar 2026 18:04:26 +0000 (+0100) Subject: coccinelle: ignore our own BPF programs X-Git-Tag: v260-rc3~80^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86867d124068b56f47e04bb7625bfaa98df04a88;p=thirdparty%2Fsystemd.git coccinelle: ignore our own BPF programs Since they don't have access to systemd code, so we can't use our custom functions/macros in them anyway. --- diff --git a/coccinelle/run-coccinelle.sh b/coccinelle/run-coccinelle.sh index ecefbf5302d..61e226e3338 100755 --- a/coccinelle/run-coccinelle.sh +++ b/coccinelle/run-coccinelle.sh @@ -9,6 +9,8 @@ EXCLUDED_PATHS=( # Symlinked to test-bus-vtable-cc.cc, which causes issues with the IN_SET macro "src/libsystemd/sd-bus/test-bus-vtable.c" "src/libsystemd/sd-journal/lookup3.c" + # Our BPF programs don't have access to systemd stuff + "src/network/bpf/*" # Ignore man examples, as they redefine some macros we use internally, which makes Coccinelle complain # and ignore code that tries to use the redefined stuff "man/*"