From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C6A3C1A1DEC for ; Mon, 12 Sep 2016 02:10:54 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 12 Sep 2016 02:10:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,322,1470726000"; d="scan'208";a="1028653811" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 12 Sep 2016 02:10:01 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 12 Sep 2016 02:10:00 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 12 Sep 2016 02:10:00 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.109]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.250]) with mapi id 14.03.0248.002; Mon, 12 Sep 2016 17:09:58 +0800 From: "Gao, Liming" To: Thomas Huth , "edk2-devel@ml01.01.org" CC: "Kinney, Michael D" Thread-Topic: [PATCH] MdePkg: Fix some typing errors Thread-Index: AQHSCtlqGz8t1CT3vU+FeWsV52q146B1lSew Date: Mon, 12 Sep 2016 09:09:58 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14B3E6E1A@shsmsx102.ccr.corp.intel.com> References: <1473453189-22983-1-git-send-email-thuth@redhat.com> In-Reply-To: <1473453189-22983-1-git-send-email-thuth@redhat.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] MdePkg: Fix some typing errors 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: Mon, 12 Sep 2016 09:10:55 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: Thomas Huth [mailto:thuth@redhat.com] > Sent: Saturday, September 10, 2016 4:33 AM > To: edk2-devel@ml01.01.org > Cc: Kinney, Michael D ; Gao, Liming > > Subject: [PATCH] MdePkg: Fix some typing errors >=20 > Correct the typos in some files of MdePkg. >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Thomas Huth > --- > .../BaseExtractGuidedSectionLib.c | 6 +++--- > MdePkg/Library/BaseLib/String.c | 2 +- > MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c | 20 ++++++++++---- > ------ > MdePkg/Library/UefiUsbLib/UsbDxeLib.c | 2 +- > 4 files changed, 15 insertions(+), 15 deletions(-) >=20 > diff --git > a/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionL > ib.c > b/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionL > ib.c > index 3a12cb1..28996f3 100644 > --- > a/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionL > ib.c > +++ > b/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionL > ib.c > @@ -175,7 +175,7 @@ ExtractGuidedSectionRegisterHandlers ( > EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo; >=20 > // > - // Check input paramter > + // Check input parameter > // > ASSERT (SectionGuid !=3D NULL); > ASSERT (GetInfoHandler !=3D NULL); > @@ -270,7 +270,7 @@ ExtractGuidedSectionGetInfo ( > EFI_GUID *SectionDefinitionGuid; >=20 > // > - // Check input paramter > + // Check input parameter > // > ASSERT (InputSection !=3D NULL); > ASSERT (OutputBufferSize !=3D NULL); > @@ -449,7 +449,7 @@ ExtractGuidedSectionGetHandlers ( > EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo; >=20 > // > - // Check input paramter > + // Check input parameter > // > ASSERT (SectionGuid !=3D NULL); >=20 > diff --git a/MdePkg/Library/BaseLib/String.c > b/MdePkg/Library/BaseLib/String.c > index 07c0562..25962f8 100644 > --- a/MdePkg/Library/BaseLib/String.c > +++ b/MdePkg/Library/BaseLib/String.c > @@ -1,5 +1,5 @@ > /** @file > - Unicode and ASCII string primatives. > + Unicode and ASCII string primitives. >=20 > Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
> This program and the accompanying materials > diff --git a/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c > b/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c > index 8f3cde0..daed0f4 100644 > --- a/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c > +++ b/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c > @@ -231,7 +231,7 @@ FileHandleWrite( >=20 > @param FileHandle the file handle to close. >=20 > -@retval EFI_SUCCESS the file handle was closed sucessfully. > +@retval EFI_SUCCESS the file handle was closed successfully. > **/ > EFI_STATUS > EFIAPI > @@ -261,7 +261,7 @@ FileHandleClose ( >=20 > @param FileHandle the file handle to delete >=20 > - @retval EFI_SUCCESS the file was closed sucessfully > + @retval EFI_SUCCESS the file was closed successfully > @retval EFI_WARN_DELETE_FAILURE the handle was closed, but the file > was not > deleted > @retval INVALID_PARAMETER One of the parameters has an invalid val= ue. > @@ -297,9 +297,9 @@ FileHandleDelete ( > has the effect of starting the read process of the directory entries o= ver. >=20 > @param FileHandle The file handle on which the position is= being set > - @param Position Byte position from begining of file > + @param Position Byte position from beginning of file >=20 > - @retval EFI_SUCCESS Operation completed sucessfully. > + @retval EFI_SUCCESS Operation completed successfully. > @retval EFI_UNSUPPORTED the seek request for non-zero is not val= id > on > directories. > @retval INVALID_PARAMETER One of the parameters has an invalid val= ue. > @@ -330,9 +330,9 @@ FileHandleSetPosition ( > if FileHandle is a directory. >=20 > @param FileHandle The open file handle on which to get the= position. > - @param Position Byte position from begining of file. > + @param Position Byte position from beginning of file. >=20 > - @retval EFI_SUCCESS the operation completed sucessfully. > + @retval EFI_SUCCESS the operation completed successfully. > @retval INVALID_PARAMETER One of the parameters has an invalid val= ue. > @retval EFI_UNSUPPORTED the request is not valid on directories. > **/ > @@ -489,7 +489,7 @@ FileHandleFindFirstFile ( > } >=20 > // > - // reset to the begining of the directory > + // reset to the beginning of the directory > // > Status =3D FileHandleSetPosition(DirHandle, 0); > if (EFI_ERROR(Status)) { > @@ -581,7 +581,7 @@ FileHandleFindNextFile( > @param[in] FileHandle The file handle from which size is retri= eved. > @param[out] Size The pointer to size. >=20 > - @retval EFI_SUCCESS Operation was completed sucessfully. > + @retval EFI_SUCCESS Operation was completed successfully. > @retval EFI_DEVICE_ERROR Cannot access the file. > @retval EFI_INVALID_PARAMETER FileHandle is NULL. > Size is NULL. > @@ -821,7 +821,7 @@ FileHandleGetFileName ( > break; > } else { > // > - // We got info... do we have a name? if yes preceed the current = path > with it... > + // We got info... do we have a name? if yes precede the current = path > with it... > // > if (StrLen (FileInfo->FileName) =3D=3D 0) { > if (*FullFileName =3D=3D NULL) { > @@ -1181,7 +1181,7 @@ FileHandleWriteLine( > @param[in] Format the format argument (see printlib for format speci= fier) > @param[in] ... the variable arguments for the format >=20 > - @retval EFI_SUCCESS the operation was sucessful > + @retval EFI_SUCCESS the operation was successful > @return other a return value from FileHandleWriteLine >=20 > @sa FileHandleWriteLine > diff --git a/MdePkg/Library/UefiUsbLib/UsbDxeLib.c > b/MdePkg/Library/UefiUsbLib/UsbDxeLib.c > index b22a829..b1fcbc5 100644 > --- a/MdePkg/Library/UefiUsbLib/UsbDxeLib.c > +++ b/MdePkg/Library/UefiUsbLib/UsbDxeLib.c > @@ -628,7 +628,7 @@ UsbClearEndpointHalt ( >=20 > ZeroMem (&EndpointDescriptor, sizeof > (EFI_USB_ENDPOINT_DESCRIPTOR)); > // > - // First seach the endpoint descriptor for that endpoint addr > + // First search the endpoint descriptor for that endpoint addr > // > Result =3D UsbIo->UsbGetInterfaceDescriptor ( > UsbIo, > -- > 1.8.3.1