You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/scripts/coccinelle
Markus Armbruster 15ba4a9f7b scripts/coccinelle: New use-g_new-etc.cocci
This is the semantic patch from commit b45c03f585 "arm: Use g_new() &
friends where that makes obvious sense".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220315144156.1595462-2-armbru@redhat.com>
3 years ago
..
cpu-reset.cocci cpu: Use DeviceClass reset instead of a special CPUClass reset 5 years ago
cpu_restore_state.cocci target/*helper: don't check retaddr before calling cpu_restore_state 7 years ago
err-bad-newline.cocci coccinelle/err-bad-newline: Fix for Python 3, and add patterns 4 years ago
error-use-after-free.cocci scripts/coccinelle: add error-use-after-free.cocci 5 years ago
error_propagate_null.cocci error: Remove NULL checks on error_propagate() calls 9 years ago
errp-guard.cocci scripts: Coccinelle script to use ERRP_GUARD() 4 years ago
exec_rw_const.cocci Avoid cpu_physical_memory_rw() with a constant is_write argument 5 years ago
inplace-byteswaps.cocci coccinelle: new inplace-byteswaps.cocci to remove inplace-byteswapping calls 6 years ago
memory-region-housekeeping.cocci softmmu/memory: Pass ram_flags to memory_region_init_ram_shared_nomigrate() 3 years ago
overflow_muldiv64.cocci
qobject.cocci qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 7 years ago
qom-parent-type.cocci qom: fix objects with improper parent type 4 years ago
remove_local_err.cocci error: Remove unnecessary local_err variables 9 years ago
remove_muldiv64.cocci
return_directly.cocci coccinelle: fix typo in comment 8 years ago
round.cocci
simplify_muldiv64.cocci
swap_muldiv64.cocci
tcg_gen_extract.cocci qemu-iotests: convert `pwd` and $(pwd) to $PWD 6 years ago
timer-del-timer-free.cocci scripts/coccinelle: New script to remove unnecessary timer_del() calls 4 years ago
typecast.cocci coccinelle: add a script to remove useless casts 8 years ago
use-error_fatal.cocci Use error_fatal to simplify obvious fatal errors (again) 6 years ago
use-g_new-etc.cocci scripts/coccinelle: New use-g_new-etc.cocci 3 years ago