Fixes clang errors:
CC ppc-softmmu/translate.o
/src/qemu/target-ppc/translate.c:3748:13: error: comparison of distinct pointer types ('void (*)(void *, int, int)' and 'void *')
if (likely(read_cb != SPR_NOACCESS)) {
/src/qemu/target-ppc/translate.c:3748:28: note: instantiated from:
if (likely(read_cb != SPR_NOACCESS)) {
/src/qemu/target-ppc/translate.c:3903:13: error: comparison of distinct pointer types ('void (*)(void *, int, int)' and 'void *')
if (likely(write_cb != SPR_NOACCESS)) {
/src/qemu/target-ppc/translate.c:3903:29: note: instantiated from:
if (likely(write_cb != SPR_NOACCESS)) {
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
||
|---|---|---|
| .. | ||
| STATUS | ||
| cpu.h | ||
| exec.h | ||
| helper.c | ||
| helper.h | ||
| helper_regs.h | ||
| kvm.c | ||
| kvm_ppc.c | ||
| kvm_ppc.h | ||
| machine.c | ||
| mfrom_table.c | ||
| mfrom_table_gen.c | ||
| op_helper.c | ||
| translate.c | ||
| translate_init.c | ||