]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/sd/sdhci.c
sdhci: convert the DPRINT() calls into trace events
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 16 Jan 2018 13:28:18 +0000 (13:28 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Jan 2018 13:28:18 +0000 (13:28 +0000)
commit8be487d8f184f2f721cabeac559fb7a6cba18c95
tree360cdd0ec661645e350b1f071d994316a6476c80
parent00b004b347f3eab1327112cf446e82b983af5209
sdhci: convert the DPRINT() calls into trace events

zero-initialize ADMADescr 'dscr' in sdhci_do_adma() to avoid:

  hw/sd/sdhci.c: In function ‘sdhci_do_adma’:
  hw/sd/sdhci.c:714:29: error: ‘dscr.addr’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
             trace_sdhci_adma("link", s->admasysaddr);
                             ^

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 20180115182436.2066-9-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd/sdhci.c
hw/sd/trace-events