hw/misc/auxbus: Use qemu_log_mask(UNIMP) instead of debug printf
PATCH 1/1 hw/misc/auxbus: Use qemu_log_mask(UNIMP) instead of debug printf
Replace a deprecated DPRINTF() call by qemu_log_mask(LOG_UNIMP).
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
--- hw/misc/auxbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/misc/auxbus.c +1 -1
@@ -196,7 +196,7 @@ AUXReply aux_request(AUXBus *bus, AUXCommand cmd, uint32_t address, }break ;default : -DPRINTF ("Not implemented!\n" ); +qemu_log_mask (LOG_UNIMP ,"AUX cmd=%u not implemented\n" , cmd);return AUX_NACK ; }
Signature · 1 line
2.21.3
Quoted 6 lines · Philippe Mathieu-Daudé
Replace a deprecated
DPRINTF()call byqemu_log_mask(LOG_UNIMP).Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/misc/auxbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Richard Henderson <[email protected]>
r~
Quoted 13 lines · Philippe Mathieu-Daudé
Replace a deprecated
DPRINTF()call byqemu_log_mask(LOG_UNIMP).Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/misc/auxbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/misc/auxbus.c +0
-0
hw/misc/auxbus.c AUXReply aux_request(AUXBus *bus, AUXCommand cmd, uint32_t address, · line 202
Quoted 8 lines
hw/misc/auxbus.c +1
-1@@ -196,7 +196,7 @@ AUXReply aux_request(AUXBus *bus, AUXCommand cmd, uint32_t address, }break ;default : -DPRINTF ("Not implemented!\n" ); +qemu_log_mask (LOG_UNIMP ,"AUX cmd=%u not implemented\n" , cmd);return AUX_NACK ; }
Reviewed-by Thomas Huth <[email protected]>
Laurent Vivier
AppliedLe 06/06/2020 à 09:02, Philippe Mathieu-Daudé a écrit :
Quoted 13 lines
Replace a deprecated
DPRINTF()call byqemu_log_mask(LOG_UNIMP).Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/misc/auxbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/misc/auxbus.c +0
-0
hw/misc/auxbus.c AUXReply aux_request(AUXBus *bus, AUXCommand cmd, uint32_t address, · line 202
Quoted 8 lines
hw/misc/auxbus.c +1
-1@@ -196,7 +196,7 @@ AUXReply aux_request(AUXBus *bus, AUXCommand cmd, uint32_t address, }break ;default : -DPRINTF ("Not implemented!\n" ); +qemu_log_mask (LOG_UNIMP ,"AUX cmd=%u not implemented\n" , cmd);return AUX_NACK ; }
Applied to my trivial-patches branch.
Thanks,
Laurent