svn commit: r357391 - head/sys/dev/tpm

Konstantin Belousov kib at FreeBSD.org
Sat Feb 1 23:16:31 UTC 2020


Author: kib
Date: Sat Feb  1 23:16:30 2020
New Revision: 357391
URL: https://svnweb.freebsd.org/changeset/base/357391

Log:
  Fix build.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/dev/tpm/tpm_crb.c

Modified: head/sys/dev/tpm/tpm_crb.c
==============================================================================
--- head/sys/dev/tpm/tpm_crb.c	Sat Feb  1 22:07:37 2020	(r357390)
+++ head/sys/dev/tpm/tpm_crb.c	Sat Feb  1 23:16:30 2020	(r357391)
@@ -299,7 +299,7 @@ tpmcrb_cancel_cmd(struct tpm_sc *sc)
 		return (false);
 	}
 
-	WR4(sc, TPM_CRB_CTRL_CANCEL, TPM_CRB_CTRL_CANCEL_CLEAR;
+	WR4(sc, TPM_CRB_CTRL_CANCEL, TPM_CRB_CTRL_CANCEL_CLEAR);
 	return (true);
 }
 
@@ -331,7 +331,7 @@ tpmcrb_transmit(struct tpm_sc *sc, size_t length)
 		return (EIO);
 	}
 	/* Clear cancellation bit */
-	WR4(sc, TPM_CRB_CTRL_CANCEL, TPM_CRB_CTRL_CANCEL_CLEAR;
+	WR4(sc, TPM_CRB_CTRL_CANCEL, TPM_CRB_CTRL_CANCEL_CLEAR);
 
 	/* Switch device to idle state if necessary */
 	if (!(RD4(sc, TPM_CRB_CTRL_STS) & TPM_CRB_CTRL_STS_IDLE_BIT)) {


More information about the svn-src-head mailing list