]> git.ipfire.org Git - thirdparty/systemd.git/commit
coccinelle: filter out a couple of 'false-positive' transformations 19036/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 18 Mar 2021 10:59:53 +0000 (11:59 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 18 Mar 2021 10:59:53 +0000 (11:59 +0100)
commitca21d59a3fe1f13c852188eae33b7049a7f51b4f
treea2a0c191c9ea3906b4ab92fc342ea4b4cce1b928
parent57ac6959f53762cf8e1d28289f443ad3572b1e31
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)
coccinelle/flags-set.cocci
coccinelle/run-coccinelle.sh
coccinelle/strjoina.cocci