36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
|
From: Bin Meng <bin.meng@windriver.com>
|
||
|
Date: Sun, 28 Feb 2021 13:06:09 +0800
|
||
|
Subject: hw/sd: sd: Fix build error when DEBUG_SD is on
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
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 | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
|
||
|
index a4ea365f4a74afd30dee5b16eebe..6719cda1a0db8e6afa04c2b23915 100644
|
||
|
--- a/hw/sd/sd.c
|
||
|
+++ b/hw/sd/sd.c
|
||
|
@@ -46,6 +46,7 @@
|
||
|
#include "qemu/timer.h"
|
||
|
#include "qemu/log.h"
|
||
|
#include "qemu/module.h"
|
||
|
+#include "qemu-common.h"
|
||
|
#include "sdmmc-internal.h"
|
||
|
#include "trace.h"
|
||
|
|