From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C5AF01A1E3E for ; Wed, 19 Oct 2016 01:22:02 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP; 19 Oct 2016 01:22:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,513,1473145200"; d="scan'208";a="21243947" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga005.jf.intel.com with ESMTP; 19 Oct 2016 01:22:02 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 19 Oct 2016 01:22:01 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.206]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.209]) with mapi id 14.03.0248.002; Wed, 19 Oct 2016 16:22:00 +0800 From: "Gao, Liming" To: Gary Lin , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" Thread-Topic: [PATCH 22/33] MdePkg: Fix typos in comments Thread-Index: AQHSKdbm/2Z9oYSxS0+n4RIOjN0ATaCvb2zg Date: Wed, 19 Oct 2016 08:21:58 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14B4968AD@shsmsx102.ccr.corp.intel.com> References: <20161019070138.16424-1-glin@suse.com> <20161019070138.16424-23-glin@suse.com> In-Reply-To: <20161019070138.16424-23-glin@suse.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 22/33] MdePkg: Fix typos in comments X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2016 08:22:02 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: Gary Lin [mailto:glin@suse.com] > Sent: Wednesday, October 19, 2016 3:01 PM > To: edk2-devel@lists.01.org > Cc: Kinney, Michael D ; Gao, Liming > > Subject: [PATCH 22/33] MdePkg: Fix typos in comments >=20 > - Resuts -> Results > - outputed -> outputted > - specifiecd -> specified > - TURE -> TRUE > - specifed -> specified > - Pointion -> Position > - Arrary -> Array > - elasped -> elapsed > - paramter -> parameter > - Sumbit -> Submit >=20 > Cc: Michael D Kinney > Cc: Liming Gao > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Gary Lin > --- > MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h |= 6 +++- > -- > MdePkg/Include/Library/SmmPeriodicSmiLib.h |= 4 ++-- > MdePkg/Include/Protocol/HiiConfigKeyword.h |= 2 +- > MdePkg/Include/Protocol/HiiDatabase.h |= 4 ++-- > MdePkg/Include/Protocol/Kms.h |= 10 +++++----- > MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | > 8 ++++---- >=20 > MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternals. > h | 2 +- > MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c > | 2 +- > MdePkg/Library/DxeIoLibCpuIo2/IoLib.c |= 2 +- > MdePkg/Library/DxeIoLibEsal/IoLib.c |= 2 +- > MdePkg/Library/DxePciLibEsal/PciLib.c |= 2 +- > MdePkg/Library/DxePciSegmentLibEsal/PciLib.c |= 2 +- > MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c | > 4 ++-- > MdePkg/Library/PeiPciLibPciCfg2/PciLib.c |= 2 +- > MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c |= 2 +- > MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c |= 2 > +- > MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c |= 2 +- > MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c |= 2 +- > MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c |= 2 +- > 19 files changed, 31 insertions(+), 31 deletions(-) >=20 > diff --git a/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h > b/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h > index 80ae7d3..7a500e2 100644 > --- a/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h > +++ b/MdePkg/Include/IndustryStandard/TcgPhysicalPresence.h > @@ -41,8 +41,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY > KIND, EITHER EXPRESS OR IMPLIED. > #define TCG_PP_RETURN_TPM_OPERATION_RESPONSE_FAILURE > 1 >=20 > // > -// TCG PP definition of return code for Sumbit TPM Request to Pre-OS > Environment > -// and Sumbit TPM Request to Pre-OS Environment 2 > +// TCG PP definition of return code for Submit TPM Request to Pre-OS > Environment > +// and Submit TPM Request to Pre-OS Environment 2 > // > #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS = 0 > #define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED > 1 > @@ -126,4 +126,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF > ANY KIND, EITHER EXPRESS OR IMPLIED. >=20 > #define TCG2_PHYSICAL_PRESENCE_VENDOR_SPECIFIC_OPERATION > 128 >=20 > -#endif > \ No newline at end of file > +#endif > diff --git a/MdePkg/Include/Library/SmmPeriodicSmiLib.h > b/MdePkg/Include/Library/SmmPeriodicSmiLib.h > index dfdb5eb..2bad2b7 100644 > --- a/MdePkg/Include/Library/SmmPeriodicSmiLib.h > +++ b/MdePkg/Include/Library/SmmPeriodicSmiLib.h > @@ -79,7 +79,7 @@ PeriodicSmiExit ( > If this function is not called from within an enabled periodic SMI han= dler, > then 0 is returned. >=20 > - @return The actual time in 100ns units elasped since this function wa= s > + @return The actual time in 100ns units elapsed since this function wa= s > called. A value of 0 indicates an unknown amount of time. >=20 > **/ > @@ -95,7 +95,7 @@ PeriodicSmiYield ( > PeriodicSmiDisable(). >=20 > @param[in] Context Content registered with PeriodicSmiEnable(). > - @param[in] ElapsedTime The actual time in 100ns units elasped since > + @param[in] ElapsedTime The actual time in 100ns units elapsed since > this function was called. A value of 0 indica= tes > an unknown amount of time. >=20 > diff --git a/MdePkg/Include/Protocol/HiiConfigKeyword.h > b/MdePkg/Include/Protocol/HiiConfigKeyword.h > index 69280b8..208336c 100644 > --- a/MdePkg/Include/Protocol/HiiConfigKeyword.h > +++ b/MdePkg/Include/Protocol/HiiConfigKeyword.h > @@ -152,7 +152,7 @@ EFI_STATUS > @retval EFI_SUCCESS The specified action was completed > successfully. >=20 > @retval EFI_INVALID_PARAMETER One or more of the following are TRUE: > - 1.Progress, ProgressErr, or Resuts is = NULL. > + 1.Progress, ProgressErr, or Results is= NULL. > 2.Parsing of the KeywordString resulte= d in an error. See > Progress and ProgressErr for more da= ta. >=20 > diff --git a/MdePkg/Include/Protocol/HiiDatabase.h > b/MdePkg/Include/Protocol/HiiDatabase.h > index 474d840..5ba50f8 100644 > --- a/MdePkg/Include/Protocol/HiiDatabase.h > +++ b/MdePkg/Include/Protocol/HiiDatabase.h > @@ -214,7 +214,7 @@ EFI_STATUS >=20 > @param Handle An array of EFI_HII_HANDLE instances retur= ned. >=20 > - @retval EFI_SUCCESS The matching handles are outputed succes= sfully. > + @retval EFI_SUCCESS The matching handles are outputted > successfully. > HandleBufferLength is updated with the a= ctual length. > @retval EFI_BUFFER_TOO_SMALL The HandleBufferLength parameter > indicates that Handle is too > @@ -273,7 +273,7 @@ EFI_STATUS >=20 > @retval EFI_OUT_OF_RESOURCES BufferSize is too small to hold the > package. >=20 > - @retval EFI_NOT_FOUND The specifiecd Handle could not be found= in > the > + @retval EFI_NOT_FOUND The specified Handle could not be found = in > the > current database. >=20 > @retval EFI_INVALID_PARAMETER BufferSize was NULL. > diff --git a/MdePkg/Include/Protocol/Kms.h > b/MdePkg/Include/Protocol/Kms.h > index 1a13755..da27096 100644 > --- a/MdePkg/Include/Protocol/Kms.h > +++ b/MdePkg/Include/Protocol/Kms.h > @@ -1197,12 +1197,12 @@ struct _EFI_KMS_PROTOCOL { > /// > BOOLEAN ServiceAvailable; > /// > - /// TURE if and only if the service supports client identifiers. Clien= t > identifiers may be used > + /// TRUE if and only if the service supports client identifiers. Clien= t > identifiers may be used > /// for auditing, access control or any other purpose specific to the > implementation. > /// > BOOLEAN ClientIdSupported; > /// > - /// TURE if and only if the service requires a client identifier in or= der to > process key requests. > + /// TRUE if and only if the service requires a client identifier in or= der to > process key requests. > /// FALSE otherwise. > /// > BOOLEAN ClientIdRequired; > @@ -1218,7 +1218,7 @@ struct _EFI_KMS_PROTOCOL { > /// > UINT8 ClientNameStringTypes; > /// > - /// TURE if only if the KMS requires a client name to be supplied to t= he > service. > + /// TRUE if only if the KMS requires a client name to be supplied to t= he > service. > /// FALSE otherwise. > /// > BOOLEAN ClientNameRequired; > @@ -1227,7 +1227,7 @@ struct _EFI_KMS_PROTOCOL { > /// > UINT16 ClientNameMaxCount; > /// > - /// TURE if and only if the service supports arbitrary client data req= uests. > The use of client > + /// TRUE if and only if the service supports arbitrary client data req= uests. > The use of client > /// data requires the caller to have specific knowledge of the individ= ual KMS > service and > /// should be used only if absolutely necessary. > /// FALSE otherwise. > @@ -1239,7 +1239,7 @@ struct _EFI_KMS_PROTOCOL { > /// > UINTN ClientDataMaxSize; > /// > - /// TURE if variable length key identifiers are supported. > + /// TRUE if variable length key identifiers are supported. > /// FALSE if a fixed length key identifier is supported. > /// > BOOLEAN KeyIdVariableLenSupported; > diff --git > a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c > b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c > index 4b86f50..e3b2846 100644 > --- a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c > +++ b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c > @@ -308,7 +308,7 @@ DecodeP ( > /** > Reads code lengths for the Extra Set or the Position Set. >=20 > - Read in the Extra Set or Pointion Set Length Arrary, then > + Read in the Extra Set or Position Set Length Array, then > generate the Huffman code mapping for them. >=20 > @param Sd The global scratch data. > @@ -508,7 +508,7 @@ DecodeC ( > Sd->mBlockSize =3D (UINT16) GetBits (Sd, 16); >=20 > // > - // Read in the Extra Set Code Length Arrary, > + // Read in the Extra Set Code Length Array, > // Generate the Huffman code mapping table for Extra Set. > // > Sd->mBadTableFlag =3D ReadPTLen (Sd, NT, TBIT, 3); > @@ -517,13 +517,13 @@ DecodeC ( > } >=20 > // > - // Read in and decode the Char&Len Set Code Length Arrary, > + // Read in and decode the Char&Len Set Code Length Array, > // Generate the Huffman code mapping table for Char&Len Set. > // > ReadCLen (Sd); >=20 > // > - // Read in the Position Set Code Length Arrary, > + // Read in the Position Set Code Length Array, > // Generate the Huffman code mapping table for the Position Set. > // > Sd->mBadTableFlag =3D ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1)= ); > diff --git > a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternal > s.h > b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternal > s.h > index aba510c..4e14313 100644 > --- > a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternal > s.h > +++ > b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLibInternal > s.h > @@ -146,7 +146,7 @@ DecodeP ( > /** > Reads code lengths for the Extra Set or the Position Set. >=20 > - Read in the Extra Set or Pointion Set Length Arrary, then > + Read in the Extra Set or Position Set Length Array, then > generate the Huffman code mapping for them. >=20 > @param Sd The global scratch data. > diff --git > a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib > .c > b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib > .c > index 567f091..8b8e528 100644 > --- > a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib > .c > +++ > b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib > .c > @@ -179,7 +179,7 @@ ExtractGuidedSectionRegisterHandlers ( > VOID *GuidData; >=20 > // > - // Check input paramter. > + // Check input parameter. > // > ASSERT (SectionGuid !=3D NULL); > ASSERT (GetInfoHandler !=3D NULL); > diff --git a/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c > b/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c > index 9204757..110f66c 100644 > --- a/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c > +++ b/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c > @@ -88,7 +88,7 @@ IoReadWorker ( > @param Width The width of the I/O operation. > @param Data The value to write to the I/O port. >=20 > - @return The paramter of Data. > + @return The parameter of Data. >=20 > **/ > UINT64 > diff --git a/MdePkg/Library/DxeIoLibEsal/IoLib.c > b/MdePkg/Library/DxeIoLibEsal/IoLib.c > index 81b28ec..3a58b51 100644 > --- a/MdePkg/Library/DxeIoLibEsal/IoLib.c > +++ b/MdePkg/Library/DxeIoLibEsal/IoLib.c > @@ -68,7 +68,7 @@ IoReadWorker ( > @param Width The width of the I/O operation. > @param Data The value to write to the I/O port. >=20 > - @return The paramter of Data. > + @return The parameter of Data. >=20 > **/ > UINT64 > diff --git a/MdePkg/Library/DxePciLibEsal/PciLib.c > b/MdePkg/Library/DxePciLibEsal/PciLib.c > index 43fcef1..28b01c9 100644 > --- a/MdePkg/Library/DxePciLibEsal/PciLib.c > +++ b/MdePkg/Library/DxePciLibEsal/PciLib.c > @@ -124,7 +124,7 @@ DxePciLibEsalReadWorker ( > This function wraps EsalPciConfigWrite function of Extended SAL PCI > Services Class. > It writes the PCI configuration register specified by Address with the > - value specified by Data. The width of data is specifed by Width. > + value specified by Data. The width of data is specified by Width. > Data is returned. >=20 > @param Address Address that encodes the PCI Bus, Device, Function and > diff --git a/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c > b/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c > index 07ddd8f..fe0fb8b 100644 > --- a/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c > +++ b/MdePkg/Library/DxePciSegmentLibEsal/PciLib.c > @@ -124,7 +124,7 @@ DxePciSegmentLibEsalReadWorker ( > This function wraps EsalPciConfigWrite function of Extended SAL PCI > Services Class. > It writes the PCI configuration register specified by Address with the > - value specified by Data. The width of data is specifed by Width. > + value specified by Data. The width of data is specified by Width. > Data is returned. >=20 > @param Address Address that encodes the PCI Bus, Device, Function and > diff --git > a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c > b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c > index c471ae9..d7bc98b 100644 > --- > a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c > +++ > b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c > @@ -198,7 +198,7 @@ ExtractGuidedSectionRegisterHandlers ( > PEI_EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo; >=20 > // > - // Check input paramter > + // Check input parameter > // > ASSERT (SectionGuid !=3D NULL); > ASSERT (GetInfoHandler !=3D NULL); > @@ -305,7 +305,7 @@ ExtractGuidedSectionGetInfo ( > EFI_GUID *SectionDefinitionGuid; >=20 > // > - // Check input paramter > + // Check input parameter > // > ASSERT (InputSection !=3D NULL); > ASSERT (OutputBufferSize !=3D NULL); > diff --git a/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c > b/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c > index 689a229..ce9121b 100644 > --- a/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c > +++ b/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c > @@ -90,7 +90,7 @@ PeiPciLibPciCfg2ReadWorker ( >=20 > This function wraps EFI_PEI_PCI_CFG2_PPI.Write() service. > It writes the PCI configuration register specified by Address with the > - value specified by Data. The width of data is specifed by Width. > + value specified by Data. The width of data is specified by Width. > Data is returned. >=20 > @param Address The address that encodes the PCI Bus, Device, Function > and > diff --git a/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c > b/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c > index 1e55791..7c8a603 100644 > --- a/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c > +++ b/MdePkg/Library/SmmIoLibSmmCpuIo2/IoLib.c > @@ -58,7 +58,7 @@ IoReadWorker ( > @param Width The width of the I/O operation. > @param Data The value to write to the I/O port. >=20 > - @return The paramter of Data. > + @return The parameter of Data. >=20 > **/ > UINT64 > diff --git > a/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c > b/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c > index 30670bf..937165a 100644 > --- a/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c > +++ b/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c > @@ -114,7 +114,7 @@ SmmMemoryAllocationLibDestructor ( >=20 > @param[in] Buffer The pointer to the buffer to be checked. >=20 > - @retval TURE The buffer is in SMRAM ranges. > + @retval TRUE The buffer is in SMRAM ranges. > @retval FALSE The buffer is out of SMRAM ranges. > **/ > BOOLEAN > diff --git a/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c > b/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c > index 0b94aeb..cdd35c1 100644 > --- a/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c > +++ b/MdePkg/Library/SmmPciLibPciRootBridgeIo/PciLib.c > @@ -112,7 +112,7 @@ SmmPciLibPciRootBridgeIoReadWorker ( >=20 > This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write() > service. > It writes the PCI configuration register specified by Address with the > - value specified by Data. The width of data is specifed by Width. > + value specified by Data. The width of data is specified by Width. > Data is returned. >=20 > @param Address The address that encodes the PCI Bus, Device, Function > and > diff --git a/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c > b/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c > index b6db317..2016af6 100644 > --- a/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c > +++ b/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c > @@ -545,7 +545,7 @@ PeriodicSmiExit ( > If this function is not called from within an enabled periodic SMI han= dler, > then 0 is returned. >=20 > - @return The actual time in 100ns units elasped since this function wa= s > + @return The actual time in 100ns units elapsed since this function wa= s > called. A value of 0 indicates an unknown amount of time. >=20 > **/ > diff --git a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c > b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c > index 148e12c..a146000 100644 > --- a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c > +++ b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c > @@ -114,7 +114,7 @@ DxePciLibPciRootBridgeIoReadWorker ( >=20 > This function wraps EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.Pci.Write() > service. > It writes the PCI configuration register specified by Address with the > - value specified by Data. The width of data is specifed by Width. > + value specified by Data. The width of data is specified by Width. > Data is returned. >=20 > @param Address The address that encodes the PCI Bus, Device, Function > and > -- > 2.10.1