1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +03:00
systemd/coccinelle
Frantisek Sumsal ca21d59a3f 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)
2021-03-18 11:59:53 +01:00
..
bool-cast.cocci
close-above-stdio.cocci
cmp.cocci
const-strlen.disabled
debug-logging.cocci
div-round-up.cocci
dup-fcntl.cocci
empty-or-dash.cocci
empty-or-root.cocci
empty-to-null.cocci
empty-to-root.cocci
enotsup.cocci
equals-null.cocci
errno-check.cocci
errno.cocci
exit-0.cocci
flags-set.cocci coccinelle: filter out a couple of 'false-positive' transformations 2021-03-18 11:59:53 +01:00
fopen-unlocked.cocci
free_and_replace.cocci
hashmap_free.cocci
htonl.cocci
in_set.cocci
iovec-make.cocci
isempty.cocci
log-json.cocci
macros.h
malloc_multiply.cocci
memzero.cocci
mfree_return.cocci
mfree.cocci
no-if-assignments.cocci
not_in_set.cocci
o-ndelay.cocci
reallocarray.cocci
redundant-if.cocci
run-coccinelle.sh coccinelle: filter out a couple of 'false-positive' transformations 2021-03-18 11:59:53 +01:00
safe_close-no-if.cocci
safe_close.cocci
safe_closedir.cocci
safe_fclose.cocci
sd_event_source_disable_unref.cocci
set_ensure_put.cocci
strempty.cocci
strjoin.cocci
strjoina.cocci coccinelle: filter out a couple of 'false-positive' transformations 2021-03-18 11:59:53 +01:00
strv_free.cocci
swap-two.cocci
synthetic-errno.cocci
take-fd.cocci
take-ptr.cocci
while-true.cocci
xsprintf.cocci
zz-drop-braces.cocci