From: Philippe Mathieu-Daudé Date: Tue, 26 May 2020 06:22:51 +0000 (+0200) Subject: hw/display/omap_dss: Replace fprintf() call by qemu_log_mask(LOG_UNIMP) X-Git-Tag: v5.1.0-rc0~104^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00a946a3cb2568033f8f5c1a7769c5239a429c94;p=thirdparty%2Fqemu.git hw/display/omap_dss: Replace fprintf() call by qemu_log_mask(LOG_UNIMP) Replace fprintf() call by qemu_log_mask(LOG_UNIMP), which is disabled by default. This avoid flooding the terminal when fuzzing the device. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-id: 20200526062252.19852-14-f4bug@amsat.org Signed-off-by: Gerd Hoffmann --- diff --git a/hw/display/omap_dss.c b/hw/display/omap_dss.c index 32dc0d6aa71..21fde58a260 100644 --- a/hw/display/omap_dss.c +++ b/hw/display/omap_dss.c @@ -619,7 +619,7 @@ static void omap_rfbi_transfer_start(struct omap_dss_s *s) if (s->rfbi.control & (1 << 1)) { /* BYPASS */ /* TODO: in non-Bypass mode we probably need to just assert the * DRQ and wait for DMA to write the pixels. */ - fprintf(stderr, "%s: Bypass mode unimplemented\n", __func__); + qemu_log_mask(LOG_UNIMP, "%s: Bypass mode unimplemented\n", __func__); return; }