diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-03-18 11:59:53 +0100 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-03-18 11:59:53 +0100 |
commit | ca21d59a3fe1f13c852188eae33b7049a7f51b4f (patch) | |
tree | a2a0c191c9ea3906b4ab92fc342ea4b4cce1b928 /coccinelle/run-coccinelle.sh | |
parent | 57ac6959f53762cf8e1d28289f443ad3572b1e31 (diff) | |
download | systemd-ca21d59a3fe1f13c852188eae33b7049a7f51b4f.tar.gz |
coccinelle: filter out a couple of 'false-positive' transformations
* flag-set.cocci: perform the transformation only if the second
argument is a constant
* sd-journal/lookup3.c: skip the cocci completely for this file, since
it's not "ours"
* strjoina.cocci: skip the transformation on the "test_strjoina" test,
since it intentionally tests the "incorrect" expression we're trying to
transform (the same thing was already done in strjoin.cocci)
Diffstat (limited to 'coccinelle/run-coccinelle.sh')
-rwxr-xr-x | coccinelle/run-coccinelle.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/coccinelle/run-coccinelle.sh b/coccinelle/run-coccinelle.sh index 871547a881..d1af412acc 100755 --- a/coccinelle/run-coccinelle.sh +++ b/coccinelle/run-coccinelle.sh @@ -7,6 +7,7 @@ EXCLUDED_PATHS=( "src/basic/linux/*" # 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" ) top="$(git rev-parse --show-toplevel)" |