Reviewed-by: jiewen.yao@intel.com
> -----Original Message-----
> From: Philippe Mathieu-Daude <philmd@redhat.com>
> Sent: Friday, January 3, 2020 5:08 PM
> To: devel@edk2.groups.io
> Cc: Antoine Coeur <coeur@gmx.fr>; Yao, Jiewen <jiewen.yao@intel.com>;
> Wang, Jian J <jian.j.wang@intel.com>; Zhang, Chao B
> <chao.b.zhang@intel.com>; Philippe Mathieu-Daude <philmd@redhat.com>
> Subject: [PATCH v2 64/78] SecurityPkg/Library/Tpm: Fix various typos
>
> From: Antoine Coeur <coeur@gmx.fr>
>
> Fix various typos in comments and documentation.
>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Chao Zhang <chao.b.zhang@intel.com>
> Signed-off-by: Antoine Coeur <coeur@gmx.fr>
> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.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
>
> //
> -// Max TPM command/reponse length
> +// Max TPM command/response length
> //
> #define TPMCMDBUFLENGTH 1024
>
> @@ -210,7 +210,7 @@ TisPcWaitRegisterBits (
> );
>
> /**
> - 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.
>
> @param[in] TisReg Pointer to TIS register.
> diff --git a/SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c
> b/SecurityPkg/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;
>
> //
> -// Max TPM command/reponse length
> +// Max TPM command/response length
> //
> #define TPMCMDBUFLENGTH 1024
>
> @@ -121,7 +121,7 @@ Tpm12TisPcWaitRegisterBits (
> }
>
> /**
> - 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.
>
> @param[in] TisReg Pointer to TIS register.
> diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Miscellaneous.c
> b/SecurityPkg/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.
>
> Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved. <BR>
> 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
>
> //
> -// Max TPM command/reponse length
> +// Max TPM command/response length
> //
> #define TPMCMDBUFLENGTH 0x500
>
> @@ -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
>
> //
> -// Max TPM command/reponse length
> +// Max TPM command/response length
> //
> #define TPMCMDBUFLENGTH 0x500
>
> @@ -77,7 +77,7 @@ TisPcWaitRegisterBits (
> }
>
> /**
> - 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.
>
> @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/TpmCommLib/TisPc.c
> index 4a14a2bf8193..533a42e53cee 100644
> --- a/SecurityPkg/Library/TpmCommLib/TisPc.c
> +++ b/SecurityPkg/Library/TpmCommLib/TisPc.c
> @@ -60,7 +60,7 @@ TisPcWaitRegisterBits (
> }
>
> /**
> - 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.
>
> @param[in] TisReg Pointer to TIS register.
> --
> 2.21.0
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#52804): https://edk2.groups.io/g/devel/message/52804
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]
-=-=-=-=-=-=-=-=-=-=-=-