]> git.ipfire.org Git - thirdparty/systemd.git/commit
coccinelle: further restrict certain transformations 12420/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 29 Apr 2019 14:12:41 +0000 (16:12 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 30 Apr 2019 07:39:13 +0000 (09:39 +0200)
commitccd52940d06fc6ba06f44f7ea64f056529c0beb0
treea324ee07cab511e52a921b13c564465fe22b4881
parent1f7247903751a79caadc7999f1f5c0ed1d08c24d
coccinelle: further restrict certain transformations

Some transformations generate results we don't want to keep, so
let's disable such transformations for specific files.

Also, disable const-strlen.cocci everywhere, as the STRLEN macro has a
pretty limited scope, so the transformation generates false positives in
most cases.
coccinelle/const-strlen.disabled [moved from coccinelle/const-strlen.cocci with 100% similarity]
coccinelle/dup-fcntl.cocci
coccinelle/flags-set.cocci
coccinelle/isempty.cocci
coccinelle/synthetic-errno.cocci