qemu/scripts/coccinelle
Peter Maydell 96d851a64b scripts/coccinelle/memory-region-init-ram.cocci: New script
Add a coccinelle script that can be used to automatically convert
manual sequences of
 memory_region_init_ram_nomigrate()
 vmstate_register_ram{,_global}()
to use the new
 memory_region_init_ram()

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1499438577-7674-7-git-send-email-peter.maydell@linaro.org
2017-07-14 17:59:42 +01: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
memory-region-init-ram.cocci scripts/coccinelle/memory-region-init-ram.cocci: New script 2017-07-14 17:59:42 +01: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