projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
905e78b
)
tpm: remove needless cast
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Mon, 9 Oct 2017 22:55:53 +0000
(
00:55
+0200)
committer
Stefan Berger
<stefanb@linux.vnet.ibm.com>
Thu, 19 Oct 2017 15:42:26 +0000
(11:42 -0400)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
hw/tpm/tpm_passthrough.c
patch
|
blob
|
history
diff --git
a/hw/tpm/tpm_passthrough.c
b/hw/tpm/tpm_passthrough.c
index 5cd988e8a4da2353612a895eb43a30fa2f8570fa..fed3d697992aed1caaf7389da7c0bb05d855b6d9 100644
(file)
--- a/
hw/tpm/tpm_passthrough.c
+++ b/
hw/tpm/tpm_passthrough.c
@@
-96,7
+96,7
@@
static int tpm_passthrough_unix_tx_bufs(TPMPassthruState *tpm_pt,
is_selftest = tpm_util_is_selftest(in, in_len);
- ret = qemu_write_full(tpm_pt->tpm_fd,
(const void *)in, (size_t)
in_len);
+ ret = qemu_write_full(tpm_pt->tpm_fd,
in,
in_len);
if (ret != in_len) {
if (!tpm_pt->tpm_op_canceled || errno != ECANCELED) {
error_report("tpm_passthrough: error while transmitting data "