[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 13/14] hw/display/omap_dss: Replace fprintf() call by qemu_lo
From: |
Alistair Francis |
Subject: |
Re: [PATCH 13/14] hw/display/omap_dss: Replace fprintf() call by qemu_log_mask(LOG_UNIMP) |
Date: |
Tue, 26 May 2020 10:27:46 -0700 |
On Mon, May 25, 2020 at 11:35 PM Philippe Mathieu-Daudé <address@hidden> wrote:
>
> 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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Alistair
> ---
> hw/display/omap_dss.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/display/omap_dss.c b/hw/display/omap_dss.c
> index 32dc0d6aa7..21fde58a26 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;
> }
>
> --
> 2.21.3
>
>
- Re: [PATCH 09/14] hw/display/xlnx_dp: Replace disabled DPRINTF() by error_report(), (continued)
- [PATCH 12/14] hw/display/exynos4210_fimd: Use qemu_log_mask(GUEST_ERROR), Philippe Mathieu-Daudé, 2020/05/26
- [PATCH 13/14] hw/display/omap_dss: Replace fprintf() call by qemu_log_mask(LOG_UNIMP), Philippe Mathieu-Daudé, 2020/05/26
- Re: [PATCH 13/14] hw/display/omap_dss: Replace fprintf() call by qemu_log_mask(LOG_UNIMP),
Alistair Francis <=
- [PATCH 14/14] hw/display/pxa2xx_lcd: Replace printf() call by qemu_log_mask(), Philippe Mathieu-Daudé, 2020/05/26
- Re: [PATCH 00/14] hw/display: Omnibus cleanups, Gerd Hoffmann, 2020/05/26
- Re: [PATCH 00/14] hw/display: Omnibus cleanups, no-reply, 2020/05/26