summaryrefslogtreecommitdiffstats
path: root/hw/char
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-11-13 13:24:26 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:19 -0600
commit4a832edc3e9ea25afc55a2522ef79f6c1b9834e9 (patch)
treebb9b27fb1f1ca349aa31071e04447575b4cb6db3 /hw/char
parent79906a97c855c8e79da8278ad026038705d5a1d2 (diff)
downloadhqemu-4a832edc3e9ea25afc55a2522ef79f6c1b9834e9.zip
hqemu-4a832edc3e9ea25afc55a2522ef79f6c1b9834e9.tar.gz
cris: avoid "naked" qemu_log
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/char')
-rw-r--r--hw/char/etraxfs_ser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/etraxfs_ser.c b/hw/char/etraxfs_ser.c
index 562021e..d4d875e 100644
--- a/hw/char/etraxfs_ser.c
+++ b/hw/char/etraxfs_ser.c
@@ -165,7 +165,7 @@ static void serial_receive(void *opaque, const uint8_t *buf, int size)
/* Got a byte. */
if (s->rx_fifo_len >= 16) {
- qemu_log("WARNING: UART dropped char.\n");
+ D(qemu_log("WARNING: UART dropped char.\n"));
return;
}
OpenPOWER on IntegriCloud