hw/sd: sd: Fix build error when DEBUG_SD is on
authorBin Meng <bin.meng@windriver.com>
Sun, 28 Feb 2021 05:06:09 +0000 (13:06 +0800)
committerSoonKyu Park <sk7.park@samsung.com>
Tue, 23 Nov 2021 04:45:39 +0000 (13:45 +0900)
commiteda3190bf7581fbcd9e1815df016e7a0f6650225
treebc2738ccf558d4d72ea3307749c895493a30f375
parent458b646456a9e7f1e14fba7cf18e5ff4a28f8a23
hw/sd: sd: Fix build error when DEBUG_SD is on

Git-commit: a78d9f27b73de3c42f376540bd1d1d0570eb1fa3
References: bsc#1175144, CVE-2020-17380, bsc#1176681, CVE-2020-25085
References: bsc#1182282, CVE-2021-3409

"qemu-common.h" should be included to provide the forward declaration
of qemu_hexdump() when DEBUG_SD is on.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210228050609.24779-1-bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Bruce Rogers <brogers@suse.com>
hw/sd/sd.c