[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 21/43] s390: made printf always compile in debug
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH 21/43] s390: made printf always compile in debug output |
Date: |
Mon, 3 Apr 2017 10:35:18 +0200 |
On Sat, 1 Apr 2017 16:56:30 +0300
Danil Antonov <address@hidden> wrote:
> From cbc3425092b6ee94d6666365f8714a39af5a583a Mon Sep 17 00:00:00 2001
> From: Danil Antonov <address@hidden>
> Date: Wed, 29 Mar 2017 12:33:01 +0300
> Subject: [PATCH 21/43] s390: made printf always compile in debug output
>
> Wrapped printf calls inside debug macros (DPRINTF) in `if` statement.
> This will ensure that printf function will always compile even if debug
> output is turned off and, in turn, will prevent bitrot of the format
> strings.
>
> Signed-off-by: Danil Antonov <address@hidden>
> ---
> hw/s390x/s390-pci-bus.c | 18 +++++++++++-------
> hw/s390x/s390-pci-inst.c | 18 +++++++++++-------
> 2 files changed, 22 insertions(+), 14 deletions(-)
This one missed some maintainer cc:s...
Queued for 2.10 as well.