From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Stefan Berger" <stefanb@linux.vnet.ibm.com>
Subject: [Qemu-devel] [PATCH 1/5] tpm: add missing include
Date: Wed, 25 Oct 2017 01:14:56 -0400 [thread overview]
Message-ID: <1508908500-25274-2-git-send-email-stefanb@linux.vnet.ibm.com> (raw)
In-Reply-To: <1508908500-25274-1-git-send-email-stefanb@linux.vnet.ibm.com>
From: Philippe Mathieu-Daudé <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>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
---
include/sysemu/tpm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/sysemu/tpm.h b/include/sysemu/tpm.h
index c8afa17..d7a2bd8 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.5.5
next prev parent reply other threads:[~2017-10-25 5:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-25 5:14 [Qemu-devel] [PATCH 0/5] Merge tpm 2017/10/24 Stefan Berger
2017-10-25 5:14 ` Stefan Berger [this message]
2017-10-25 5:14 ` [Qemu-devel] [PATCH 2/5] tpm: add stubs Stefan Berger
2017-10-25 5:14 ` [Qemu-devel] [PATCH 3/5] tpm: remove unnecessary #ifdef CONFIG_TPM Stefan Berger
2017-10-25 5:14 ` [Qemu-devel] [PATCH 4/5] vl: " Stefan Berger
2017-10-25 5:15 ` [Qemu-devel] [PATCH 5/5] tpm: print buffers received from TPM when debugging Stefan Berger
2017-10-25 13:05 ` [Qemu-devel] [PATCH 0/5] Merge tpm 2017/10/24 Philippe Mathieu-Daudé
2017-10-25 14:44 ` Stefan Berger
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=1508908500-25274-2-git-send-email-stefanb@linux.vnet.ibm.com \
--to=stefanb@linux.vnet.ibm.com \
--cc=f4bug@amsat.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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).