From nobody Sat Feb 7 06:21:14 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+52798+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52798+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578044513; cv=none; d=zohomail.com; s=zohoarc; b=OWDLqaf4LikXsJq7rhq1sxjYZP9EsFE/Dk8SeEjW4M1BPLkv+7nVLttco7+rwr4dhAOCaDTrUC1hnkqHv2fLYHspkpUpfz13MH+/dZpoTL7IFZlrvSARFyYbOAYsE8XjNPH38DhvSjEzKHIFT7oD+2w2d3YyuEMkdxBugaFFO3k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578044513; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=t2n5qwr5JZZWqsQvrjjdLGdEZlk42ifKsgO2/YIy0H4=; b=O9ik0t2aef6b9RUM4wC0b/QfsgHjs5SLAjuHunJpsnBju0lz0N3r4bbA1jdZxOwOYNjKn+bXF9tUqEcvro9a/LeVroAF7FUITX3q/1tibuFk04agyURbKkWTjCKTBjp5l4CAUR6YeJq5/alYlI8A4MIFaTHNP2v4HQCVKl6/ow8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52798+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1578044513077466.96735395129565; Fri, 3 Jan 2020 01:41:53 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id BbQjYY1788612xgHW7MAhsPl; Fri, 03 Jan 2020 01:41:52 -0800 X-Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web12.2006.1578044511712484421 for ; Fri, 03 Jan 2020 01:41:52 -0800 X-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-122-RHtq9np0PmGaZkf9htmz8A-1; Fri, 03 Jan 2020 04:41:49 -0500 X-Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 15C94107ACC4; Fri, 3 Jan 2020 09:41:48 +0000 (UTC) X-Received: from x1w.redhat.com (ovpn-116-190.ams2.redhat.com [10.36.116.190]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EE12060BF7; Fri, 3 Jan 2020 09:41:43 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Jiewen Yao , Jian J Wang , Chao Zhang , Philippe Mathieu-Daude Subject: [edk2-devel] [PATCH v2 64/78] SecurityPkg/Library/Tpm: Fix various typos Date: Fri, 3 Jan 2020 10:07:58 +0100 Message-Id: <20200103090812.10592-65-philmd@redhat.com> In-Reply-To: <20200103090812.10592-1-philmd@redhat.com> References: <20200103090812.10592-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: RHtq9np0PmGaZkf9htmz8A-1 X-Mimecast-Spam-Score: 0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,philmd@redhat.com X-Gm-Message-State: 08gtnlD7DO67paUtauD3hAywx1787277AA= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1578044512; bh=3a186h3hMvtsY4Y66W4LpIeDKYDPG3UknVov7CY0CZk=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=uniAze+I5YOiKFLM55rwhMXoIdcfGtFoXC7YjOxJTXy5lcXM9GLnTq2c94+CF1HeFxR t+PE5Hu6bKrd05G5GtV0nkSU4C3hYHUYktBe+nL2P1QTzLeQLwartjzPKRrR6oxo3xzxo X+fW3FudzgQSWWd8+Ezcc9YzLeOUGEqjuk8= X-ZohoMail-DKIM: pass (identity @groups.io) 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 Signed-off-by: Philippe Mathieu-Daude Reviewed-by: jiewen.yao@intel.com --- 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.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#52798): https://edk2.groups.io/g/devel/message/52798 Mute This Topic: https://groups.io/mt/69395963/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-