qemu-e2k/scripts/coccinelle
Eric Blake 8a4613a0ab qobject: Update coccinelle script to catch Q{INC, DEC}REF
The recent commit b097efc0 used qobject_decref(QOBJECT(E)), even
though we already have QDECREF(E) for that purpose.  We can update
our coccinelle script to catch any future relapses; with that in
place, the rest of the patch is generated with:
 spatch --sp-file scripts/coccinelle/qobject.cocci \
        --macro-file scripts/cocci-macro-file.h --dir . --in-place

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170624181008.25497-3-eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2017-07-12 17:51:54 +02:00
..
err-bad-newline.cocci error: Strip trailing '\n' from error string arguments (again) 2016-08-08 09:00:44 +02:00
error_propagate_null.cocci error: Remove NULL checks on error_propagate() calls 2016-06-20 16:38:13 +02:00
overflow_muldiv64.cocci
qobject.cocci qobject: Update coccinelle script to catch Q{INC, DEC}REF 2017-07-12 17:51:54 +02:00
remove_local_err.cocci error: Remove unnecessary local_err variables 2016-06-20 16:38:13 +02:00
remove_muldiv64.cocci
return_directly.cocci coccinelle: fix typo in comment 2017-06-07 14:38:44 +01:00
round.cocci
simplify_muldiv64.cocci
swap_muldiv64.cocci
typecast.cocci coccinelle: add a script to remove useless casts 2016-09-15 15:32:22 +03:00