computing-offload/generic_vdpa/qemu/qom-object-Remove-circular-include-dependency.patch
jiangdongxu 79c4324644 add generic_vdpa basecode
Change-Id: I2d302dda68298877c65c99147f5bf22186a59aac
2024-09-19 17:19:46 +08:00

42 lines
1.3 KiB
Diff

From e4393667e45bdcf04150ada3840a6d87e3188d36 Mon Sep 17 00:00:00 2001
From: tangbinzy <tangbin_yewu@cmss.chinamobile.com>
Date: Fri, 17 Nov 2023 09:13:07 +0000
Subject: [PATCH] qom/object: Remove circular include dependency mainline
inclusion commit 5bba9bcfbb42e7c016626420e148a1bf1b080835 category: bugfix
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---------------------------------------------------------------
"qom/object.h" doesn't need to include itself.
Fixes: db1015e92e04 ("Move QOM typedefs and add missing includes")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220509084659.52076-1-philippe.mathieu.daude@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: tangbinzy <tangbin_yewu@cmss.chinamobile.com>
---
include/qom/object.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/qom/object.h b/include/qom/object.h
index fae096f51c..f658e1e0a0 100644
--- a/include/qom/object.h
+++ b/include/qom/object.h
@@ -16,7 +16,6 @@
#include "qapi/qapi-builtin-types.h"
#include "qemu/module.h"
-#include "qom/object.h"
struct TypeImpl;
typedef struct TypeImpl *Type;
--
2.27.0