hw/display/xlnx_dp: Replace disabled DPRINTF() by error_report()
commit7bbdf0f8922ab0fc6f805851f6bb1a9d271414f4
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 26 May 2020 06:22:47 +0000 (26 08:22 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 28 May 2020 09:38:57 +0000 (28 11:38 +0200)
tree15ec5da573eaf3a6087ebe60269c91f10d1e45c2
parenteeb1168032a1f6dfc7eb5897c3bf4e53fdc28b98
hw/display/xlnx_dp: Replace disabled DPRINTF() by error_report()

DPRINTF() calls are disabled by default, so when unexpected
data is used, the whole process abort without information.

Display a bit of information with error_report() before crashing.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200526062252.19852-10-f4bug@amsat.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/xlnx_dp.c