summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorDanil Antonov2017-04-01 15:56:30 +0200
committerCornelia Huck2017-04-21 09:32:09 +0200
commit229913f0ef3807b5cf4eecd5a0ef8133ff6dbbcb (patch)
tree0d5bb22fd6866c841080d05c9cb210642c853519 /include/hw
parents390x/kvm: make printf always compile in debug output (diff)
downloadqemu-229913f0ef3807b5cf4eecd5a0ef8133ff6dbbcb.tar.gz
qemu-229913f0ef3807b5cf4eecd5a0ef8133ff6dbbcb.tar.xz
qemu-229913f0ef3807b5cf4eecd5a0ef8133ff6dbbcb.zip
s390x/pci: make 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 <g.danil.anto@gmail.com> Message-Id: <CA+KKJYBi31Bs7DtVdzZdwG2t+u5+FGiAhQpd3pqJzUX1O8Cprg@mail.gmail.com> [CH: remove now misleading comments] Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions