qemu/scripts/coccinelle
Markus Armbruster 66997c42e0 cleanup: Tweak and re-run return_directly.cocci
Tweak the semantic patch to drop redundant parenthesis around the
return expression.

Coccinelle drops a comment in hw/rdma/vmw/pvrdma_cmd.c; restored
manually.

Coccinelle messes up vmdk_co_create(), not sure why.  Change dropped,
will be done manually in the next commit.

Line breaks in target/avr/cpu.h and hw/rdma/vmw/pvrdma_cmd.c tidied up
manually.

Whitespace in tools/virtiofsd/fuse_lowlevel.c tidied up manually.

checkpatch.pl complains "return of an errno should typically be -ve"
two times for hw/9pfs/9p-synth.c.  Preexisting, the patch merely makes
it visible to checkpatch.pl.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20221122134917.1217307-2-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2022-12-14 16:19:35 +01:00
..
cpu-reset.cocci
cpu_restore_state.cocci
err-bad-newline.cocci coccinelle/err-bad-newline: Fix for Python 3, and add patterns 2020-07-24 12:56:44 +02:00
error-use-after-free.cocci
error_propagate_null.cocci
errp-guard.cocci scripts: Coccinelle script to use ERRP_GUARD() 2020-07-10 15:18:09 +02:00
exec_rw_const.cocci
inplace-byteswaps.cocci
memory-region-housekeeping.cocci softmmu/memory: Pass ram_flags to memory_region_init_ram_shared_nomigrate() 2021-06-15 20:27:38 +02:00
overflow_muldiv64.cocci
qobject.cocci
qom-parent-type.cocci qom: fix objects with improper parent type 2020-10-12 11:50:22 -04:00
remove_local_err.cocci
remove_muldiv64.cocci
return_directly.cocci cleanup: Tweak and re-run return_directly.cocci 2022-12-14 16:19:35 +01:00
round.cocci
simplify_muldiv64.cocci
swap_muldiv64.cocci
tcg_gen_extract.cocci
timer-del-timer-free.cocci scripts/coccinelle: New script to remove unnecessary timer_del() calls 2021-01-08 15:13:38 +00:00
typecast.cocci
use-error_fatal.cocci
use-g_new-etc.cocci scripts/coccinelle: New use-g_new-etc.cocci 2022-03-21 15:44:44 +01:00