Skip to content
Commit 229913f0 authored by Danil Antonov's avatar Danil Antonov Committed by Cornelia Huck
Browse files

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: default avatarDanil Antonov <g.danil.anto@gmail.com>
Message-Id: <CA+KKJYBi31Bs7DtVdzZdwG2t+u5+FGiAhQpd3pqJzUX1O8Cprg@mail.gmail.com>
[CH: remove now misleading comments]
Signed-off-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
parent 08564ecd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment