projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb968d2
)
tpm: use loop iterator to set sts data field
author
Prasad J Pandit
<pjp@fedoraproject.org>
Tue, 6 Nov 2018 05:21:44 +0000
(10:51 +0530)
committer
Stefan Berger
<stefanb@linux.vnet.ibm.com>
Wed, 14 Nov 2018 20:47:24 +0000
(15:47 -0500)
When TIS request is done, set 'sts' data field across all localities.
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
hw/tpm/tpm_tis.c
patch
|
blob
|
history
diff --git
a/hw/tpm/tpm_tis.c
b/hw/tpm/tpm_tis.c
index 12f5c9a7590a0650d3fa3c967a4f69286d28c5f8..d9322692ee6728e3b05757ec46e629c2832ef1e4 100644
(file)
--- a/
hw/tpm/tpm_tis.c
+++ b/
hw/tpm/tpm_tis.c
@@
-295,7
+295,7
@@
static void tpm_tis_request_completed(TPMIf *ti, int ret)
if (s->cmd.selftest_done) {
for (l = 0; l < TPM_TIS_NUM_LOCALITIES; l++) {
- s->loc[l
octy
].sts |= TPM_TIS_STS_SELFTEST_DONE;
+ s->loc[l].sts |= TPM_TIS_STS_SELFTEST_DONE;
}
}