From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: "BALATON Zoltan" <balaton@eik.bme.hu>,
"Richard W . M . Jones" <rjones@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Stefan Berger" <stefanb@linux.vnet.ibm.com>,
"Amarnath Valluri" <amarnath.valluri@intel.com>,
"Juan Quintela" <quintela@redhat.com>,
"Peter Maydell" <peter.maydell@linaro.org>
Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
qemu-devel@nongnu.org, qemu-trivial@nongnu.org,
"Marc-André Lureau" <marcandre.lureau@gmail.com>,
"Dr . David Alan Gilbert" <dgilbert@redhat.com>,
"Peter Xu" <peterx@redhat.com>
Subject: [Qemu-devel] [PATCH v2 1/4] tpm: add missing include
Date: Tue, 24 Oct 2017 09:20:42 -0300 [thread overview]
Message-ID: <20171024122045.30072-2-f4bug@amsat.org> (raw)
In-Reply-To: <20171024122045.30072-1-f4bug@amsat.org>
else file including "sysemu/tpm.h" fails to compile:
In file included from qemu/stubs/tpm.c:2:0:
qemu/include/sysemu/tpm.h:36:19: error: implicit declaration of function ‘object_resolve_path_type’ [-Werror=implicit-function-declaration]
Object *obj = object_resolve_path_type("", TYPE_TPM_TIS, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Richard W.M. Jones <rjones@redhat.com>
---
include/sysemu/tpm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/sysemu/tpm.h b/include/sysemu/tpm.h
index c8afa179e5..d7a2bd8556 100644
--- a/include/sysemu/tpm.h
+++ b/include/sysemu/tpm.h
@@ -13,6 +13,7 @@
#define QEMU_TPM_H
#include "qemu/option.h"
+#include "qom/object.h"
typedef struct TPMState TPMState;
--
2.15.0.rc1
next prev parent reply other threads:[~2017-10-24 12:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-24 12:20 [Qemu-devel] [PATCH v2 0/4] tpm: add stubs to fix compiling with --disable-tpm Philippe Mathieu-Daudé
2017-10-24 12:20 ` Philippe Mathieu-Daudé [this message]
2017-10-24 12:20 ` [Qemu-devel] [PATCH v2 2/4] tpm: add stubs Philippe Mathieu-Daudé
2017-10-24 23:20 ` Juan Quintela
2017-10-26 7:06 ` Valluri, Amarnath
2017-10-24 12:20 ` [Qemu-devel] [PATCH v2 3/4] tpm: remove unnecessary #ifdef CONFIG_TPM Philippe Mathieu-Daudé
2017-10-24 17:35 ` Stefan Berger
2017-10-24 23:20 ` Juan Quintela
2017-10-26 7:04 ` Valluri, Amarnath
2017-10-24 12:20 ` [Qemu-devel] [PATCH v2 4/4] vl: " Philippe Mathieu-Daudé
2017-10-24 23:20 ` Juan Quintela
2017-10-26 7:03 ` Valluri, Amarnath
2017-10-24 12:39 ` [Qemu-devel] [PATCH v2 0/4] tpm: add stubs to fix compiling with --disable-tpm Richard W.M. Jones
2017-10-24 13:23 ` Philippe Mathieu-Daudé
2017-10-24 18:19 ` Amarnath Valluri
2017-10-25 13:30 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171024122045.30072-2-f4bug@amsat.org \
--to=f4bug@amsat.org \
--cc=amarnath.valluri@intel.com \
--cc=balaton@eik.bme.hu \
--cc=dgilbert@redhat.com \
--cc=marcandre.lureau@gmail.com \
--cc=marcandre.lureau@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=quintela@redhat.com \
--cc=rjones@redhat.com \
--cc=stefanb@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).