mirror of
https://github.com/qemu/qemu.git
synced 2025-08-14 11:43:46 +00:00
Merge tpm 2020/05/08 v3
-----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEuBi5yt+QicLVzsZrda1lgCoLQhEFAl66xcoACgkQda1lgCoL QhEnvAgAjF9PL/ErC9wBdnvOjukTwI6M82+RLnU/Vy4zeM/Jv1ehuukYSnfj2Uck CSwIfqxyC4DfPZpg/wZMiFLXLMtBq0itbFTjpjd4XGDcL6MJBcUShK/pZDNqTKeE E1laSks5v2vHjHU6YVbwZV07ump5jiLMvFgvjR0FVUiq3u79Zj/FSe2Os3kVOeUV v+E9bHG1PdB3RRrC3Q+DSxkdYK5Nw/2ZJBG7R5PIWLweb7tkWy7n1SFDq9p7Xleh oyMblVl/+rmj6iWcts1i/R0AZ04qTqQEXXWSgtzzEIWaeSwGDpzRIit7xm6/cU4U 2EHzOyhYC2mUa8Hd+o5uSt5zyrnVqw== =pXKy -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/stefanberger/tags/pull-tpm-2020-05-08-1' into staging Merge tpm 2020/05/08 v3 # gpg: Signature made Tue 12 May 2020 16:50:34 BST # gpg: using RSA key B818B9CADF9089C2D5CEC66B75AD65802A0B4211 # gpg: Good signature from "Stefan Berger <stefanb@linux.vnet.ibm.com>" [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: B818 B9CA DF90 89C2 D5CE C66B 75AD 6580 2A0B 4211 * remotes/stefanberger/tags/pull-tpm-2020-05-08-1: hw/tpm: fix usage of bool in tpm-tis.c Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
d5c75ec500
@ -536,7 +536,7 @@ static void tpm_tis_mmio_write(void *opaque, hwaddr addr,
|
|||||||
while ((TPM_TIS_IS_VALID_LOCTY(s->active_locty) &&
|
while ((TPM_TIS_IS_VALID_LOCTY(s->active_locty) &&
|
||||||
locty > s->active_locty) ||
|
locty > s->active_locty) ||
|
||||||
!TPM_TIS_IS_VALID_LOCTY(s->active_locty)) {
|
!TPM_TIS_IS_VALID_LOCTY(s->active_locty)) {
|
||||||
bool higher_seize = FALSE;
|
bool higher_seize = false;
|
||||||
|
|
||||||
/* already a pending SEIZE ? */
|
/* already a pending SEIZE ? */
|
||||||
if ((s->loc[locty].access & TPM_TIS_ACCESS_SEIZE)) {
|
if ((s->loc[locty].access & TPM_TIS_ACCESS_SEIZE)) {
|
||||||
@ -546,7 +546,7 @@ static void tpm_tis_mmio_write(void *opaque, hwaddr addr,
|
|||||||
/* check for ongoing seize by a higher locality */
|
/* check for ongoing seize by a higher locality */
|
||||||
for (l = locty + 1; l < TPM_TIS_NUM_LOCALITIES; l++) {
|
for (l = locty + 1; l < TPM_TIS_NUM_LOCALITIES; l++) {
|
||||||
if ((s->loc[l].access & TPM_TIS_ACCESS_SEIZE)) {
|
if ((s->loc[l].access & TPM_TIS_ACCESS_SEIZE)) {
|
||||||
higher_seize = TRUE;
|
higher_seize = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user