From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.120]) by mx.groups.io with SMTP id smtpd.web10.6823.1581039678046311783 for ; Thu, 06 Feb 2020 17:41:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aXEbTGeC; spf=pass (domain: redhat.com, ip: 205.139.110.120, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581039677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Dwjw4a/pxqPHmP30RGQgYtiFhvPlV+xpMCpD0sZewgc=; b=aXEbTGeCg7REQoQlbKOHxLkxWZYgoiD8RbQXTGBvGwaQAyNTg7UwV/uUL05zTpQ8q7/y5W 6jmalVs+gy3uXI0tELAhiM0bXt8YMbsNkliZgj9k4AvvP2UjjvDAwSc2BRgxb29Zi4NfW+ fOlx8Dw4ZjNK1oozn05f5HFLFOMM5+M= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-172-nq0p9IjJOH2XY2NDZbhmFw-1; Thu, 06 Feb 2020 20:41:13 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 541F48024D6; Fri, 7 Feb 2020 01:41:12 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-120.brq.redhat.com [10.40.204.120]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4356B5C3FD; Fri, 7 Feb 2020 01:41:11 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Laszlo Ersek , Eric Dong Subject: [PATCH v3 64/78] SecurityPkg/Library/Tpm: Fix various typos Date: Fri, 7 Feb 2020 02:08:17 +0100 Message-Id: <20200207010831.9046-65-philmd@redhat.com> In-Reply-To: <20200207010831.9046-1-philmd@redhat.com> References: <20200207010831.9046-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: nq0p9IjJOH2XY2NDZbhmFw-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Antoine Coeur Fix various typos in comments and documentation. Cc: Jiewen Yao Cc: Jian J Wang Cc: Chao Zhang Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Jiewen Yao Signed-off-by: Philippe Mathieu-Daude --- SecurityPkg/Include/Library/TpmCommLib.h | 4 ++-- SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c | 4 ++-- SecurityPkg/Library/Tpm2CommandLib/Tpm2Miscellaneous.c | 2 +- SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c | 4 ++-- SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c | 6 +++--- SecurityPkg/Library/TpmCommLib/TisPc.c | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/SecurityPkg/Include/Library/TpmCommLib.h b/SecurityPkg/Include= /Library/TpmCommLib.h index 7e102a6a117d..1d18f8d837db 100644 --- a/SecurityPkg/Include/Library/TpmCommLib.h +++ b/SecurityPkg/Include/Library/TpmCommLib.h @@ -185,7 +185,7 @@ typedef TIS_PC_REGISTERS *TIS_PC_REGISTERS_PTR; #define TIS_TIMEOUT_D 750 * 1000 // 750ms =20 // -// Max TPM command/reponse length +// Max TPM command/response length // #define TPMCMDBUFLENGTH 1024 =20 @@ -210,7 +210,7 @@ TisPcWaitRegisterBits ( ); =20 /** - Get BurstCount by reading the burstCount field of a TIS regiger + Get BurstCount by reading the burstCount field of a TIS register in the time of default TIS_TIMEOUT_D. =20 @param[in] TisReg Pointer to TIS register. diff --git a/SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c b/SecurityPk= g/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c index 1caa076203ba..f858090479e6 100644 --- a/SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c +++ b/SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c @@ -28,7 +28,7 @@ typedef enum { } PTP_INTERFACE_TYPE; =20 // -// Max TPM command/reponse length +// Max TPM command/response length // #define TPMCMDBUFLENGTH 1024 =20 @@ -121,7 +121,7 @@ Tpm12TisPcWaitRegisterBits ( } =20 /** - Get BurstCount by reading the burstCount field of a TIS regiger + Get BurstCount by reading the burstCount field of a TIS register in the time of default TIS_TIMEOUT_D. =20 @param[in] TisReg Pointer to TIS register. diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Miscellaneous.c b/Secur= ityPkg/Library/Tpm2CommandLib/Tpm2Miscellaneous.c index 21f3bb5adf8e..32bff458448e 100644 --- a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Miscellaneous.c +++ b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Miscellaneous.c @@ -1,5 +1,5 @@ /** @file - Implement TPM2 Miscellanenous related command. + Implement TPM2 Miscellaneous related command. =20 Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c b/SecurityPkg/= Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c index b671cef04ed7..2c73385b6ce5 100644 --- a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c +++ b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c @@ -26,7 +26,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define PTP_TIMEOUT_MAX (90000 * 1000) // 90s =20 // -// Max TPM command/reponse length +// Max TPM command/response length // #define TPMCMDBUFLENGTH 0x500 =20 @@ -290,7 +290,7 @@ PtpCrbTpmCommand ( DEBUG ((EFI_D_VERBOSE, "\n")); ); // - // Check the reponse data header (tag, parasize and returncode) + // Check the response data header (tag, parasize and returncode) // CopyMem (&Data16, BufferOut, sizeof (UINT16)); // TPM2 should not use this RSP_COMMAND diff --git a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c b/SecurityPkg/= Library/Tpm2DeviceLibDTpm/Tpm2Tis.c index bbebc94b4d01..9a809612b3d9 100644 --- a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c +++ b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c @@ -22,7 +22,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define TIS_TIMEOUT_MAX (90000 * 1000) // 90s =20 // -// Max TPM command/reponse length +// Max TPM command/response length // #define TPMCMDBUFLENGTH 0x500 =20 @@ -77,7 +77,7 @@ TisPcWaitRegisterBits ( } =20 /** - Get BurstCount by reading the burstCount field of a TIS regiger + Get BurstCount by reading the burstCount field of a TIS register in the time of default TIS_TIMEOUT_D. =20 @param[in] TisReg Pointer to TIS register. @@ -340,7 +340,7 @@ Tpm2TisTpmCommand ( DEBUG ((EFI_D_VERBOSE, "\n")); ); // - // Check the reponse data header (tag,parasize and returncode ) + // Check the response data header (tag,parasize and returncode ) // CopyMem (&Data16, BufferOut, sizeof (UINT16)); // TPM2 should not use this RSP_COMMAND diff --git a/SecurityPkg/Library/TpmCommLib/TisPc.c b/SecurityPkg/Library/T= pmCommLib/TisPc.c index 4a14a2bf8193..533a42e53cee 100644 --- a/SecurityPkg/Library/TpmCommLib/TisPc.c +++ b/SecurityPkg/Library/TpmCommLib/TisPc.c @@ -60,7 +60,7 @@ TisPcWaitRegisterBits ( } =20 /** - Get BurstCount by reading the burstCount field of a TIS regiger + Get BurstCount by reading the burstCount field of a TIS register in the time of default TIS_TIMEOUT_D. =20 @param[in] TisReg Pointer to TIS register. --=20 2.21.1