mirror of https://gitee.com/openkylin/qemu.git
22fb6eb571
Some objects accidentally inherit ObjectClass instead of Object. They compile silently but may crash after downcasting. In this patch, we introduce a coccinelle script to find broken declarations and fix them manually with proper base type. Signed-off-by: Sergey Nizovtsev <snizovtsev@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
cpu-reset.cocci | ||
cpu_restore_state.cocci | ||
err-bad-newline.cocci | ||
error-use-after-free.cocci | ||
error_propagate_null.cocci | ||
errp-guard.cocci | ||
exec_rw_const.cocci | ||
inplace-byteswaps.cocci | ||
memory-region-housekeeping.cocci | ||
overflow_muldiv64.cocci | ||
qobject.cocci | ||
qom-parent-type.cocci | ||
remove_local_err.cocci | ||
remove_muldiv64.cocci | ||
return_directly.cocci | ||
round.cocci | ||
simplify_muldiv64.cocci | ||
swap_muldiv64.cocci | ||
tcg_gen_extract.cocci | ||
typecast.cocci | ||
use-error_fatal.cocci |