[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/9] fuzz: add missing header for rcu_enable_atfork
From: |
Thomas Huth |
Subject: |
[PULL 3/9] fuzz: add missing header for rcu_enable_atfork |
Date: |
Mon, 13 Jul 2020 12:55:28 +0200 |
From: Alexander Bulekov <alxndr@bu.edu>
In 45222b9a90, I fixed a broken check for rcu_enable_atfork introduced
in d6919e4cb6. I added a call to rcu_enable_atfork after the
call to qemu_init in fuzz.c, but forgot to include the corresponding
header, breaking --enable-fuzzing --enable-werror builds.
Fixes: 45222b9a90 ("fuzz: fix broken qtest check at rcu_disable_atfork")
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20200708200104.21978-3-alxndr@bu.edu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/qtest/fuzz/fuzz.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/qtest/fuzz/fuzz.c b/tests/qtest/fuzz/fuzz.c
index a36d9038e0..0b66e43409 100644
--- a/tests/qtest/fuzz/fuzz.c
+++ b/tests/qtest/fuzz/fuzz.c
@@ -19,6 +19,7 @@
#include "sysemu/runstate.h"
#include "sysemu/sysemu.h"
#include "qemu/main-loop.h"
+#include "qemu/rcu.h"
#include "tests/qtest/libqtest.h"
#include "tests/qtest/libqos/qgraph.h"
#include "fuzz.h"
--
2.18.1
- [PULL 0/9] Fuzzer, configure, gitlab and misc patches, Thomas Huth, 2020/07/13
- [PULL 1/9] configure: fix malloc check, Thomas Huth, 2020/07/13
- [PULL 2/9] configure: do not clobber CFLAGS with --enable-fuzzing, Thomas Huth, 2020/07/13
- [PULL 3/9] fuzz: add missing header for rcu_enable_atfork,
Thomas Huth <=
- [PULL 5/9] docs/devel/fuzzing: Fix bugs in documentation, Thomas Huth, 2020/07/13
- [PULL 6/9] Remove the CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE switch, Thomas Huth, 2020/07/13
- [PULL 4/9] tests/qtest/fuzz: Add missing spaces in description, Thomas Huth, 2020/07/13
- [PULL 7/9] disas/sh4: Add missing fallthrough annotations, Thomas Huth, 2020/07/13
- [PULL 8/9] GitLab Gating CI: introduce pipeline-status contrib script, Thomas Huth, 2020/07/13
- [PULL 9/9] docs/system/s390x: Improve the 3270 documentation, Thomas Huth, 2020/07/13
- Re: [PULL 0/9] Fuzzer, configure, gitlab and misc patches, no-reply, 2020/07/13
- Re: [PULL 0/9] Fuzzer, configure, gitlab and misc patches, Peter Maydell, 2020/07/13