]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Fix some typing errors
authorThomas Huth <thuth@redhat.com>
Fri, 9 Sep 2016 20:33:09 +0000 (13:33 -0700)
committerMichael Kinney <michael.d.kinney@intel.com>
Sat, 8 Oct 2016 01:05:37 +0000 (18:05 -0700)
Correct the typos in some files of MdePkg.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.c
MdePkg/Library/BaseLib/String.c
MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c
MdePkg/Library/UefiUsbLib/UsbDxeLib.c

index 3a12cb1408f68561381ad0ca9aaf463f3c3e2c9e..28996f310b9ebc6d4b47e887ac06338aa8d960bb 100644 (file)
@@ -175,7 +175,7 @@ ExtractGuidedSectionRegisterHandlers (
   EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo;\r
 \r
   //\r
-  // Check input paramter\r
+  // Check input parameter\r
   //\r
   ASSERT (SectionGuid != NULL);\r
   ASSERT (GetInfoHandler != NULL);\r
@@ -270,7 +270,7 @@ ExtractGuidedSectionGetInfo (
   EFI_GUID                            *SectionDefinitionGuid;\r
   \r
   //\r
-  // Check input paramter\r
+  // Check input parameter\r
   //\r
   ASSERT (InputSection != NULL);\r
   ASSERT (OutputBufferSize != NULL);\r
@@ -449,7 +449,7 @@ ExtractGuidedSectionGetHandlers (
   EXTRACT_GUIDED_SECTION_HANDLER_INFO *HandlerInfo;\r
 \r
   //\r
-  // Check input paramter\r
+  // Check input parameter\r
   //\r
   ASSERT (SectionGuid != NULL);\r
 \r
index 07c0562f3bfc488d9ec216ae9dbfe8e99fd2c90d..25962f85b25ca085bae8e72d0a24c5f54fe7a8fd 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Unicode and ASCII string primatives.\r
+  Unicode and ASCII string primitives.\r
 \r
   Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
index 8f3cde0f6c4140df7260094bd17304aeae7ec3b0..daed0f48700a4618ee0a44d7ec2735e08bb57295 100644 (file)
@@ -231,7 +231,7 @@ FileHandleWrite(
 \r
 @param FileHandle               the file handle to close.\r
 \r
-@retval EFI_SUCCESS             the file handle was closed sucessfully.\r
+@retval EFI_SUCCESS             the file handle was closed successfully.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -261,7 +261,7 @@ FileHandleClose (
 \r
   @param FileHandle             the file handle to delete\r
 \r
-  @retval EFI_SUCCESS           the file was closed sucessfully\r
+  @retval EFI_SUCCESS           the file was closed successfully\r
   @retval EFI_WARN_DELETE_FAILURE the handle was closed, but the file was not\r
                                 deleted\r
   @retval INVALID_PARAMETER     One of the parameters has an invalid value.\r
@@ -297,9 +297,9 @@ FileHandleDelete (
   has the effect of starting the read process of the directory entries over.\r
 \r
   @param FileHandle             The file handle on which the position is being set\r
-  @param Position               Byte position from begining of file\r
+  @param Position               Byte position from beginning of file\r
 \r
-  @retval EFI_SUCCESS           Operation completed sucessfully.\r
+  @retval EFI_SUCCESS           Operation completed successfully.\r
   @retval EFI_UNSUPPORTED       the seek request for non-zero is not valid on\r
                                 directories.\r
   @retval INVALID_PARAMETER     One of the parameters has an invalid value.\r
@@ -330,9 +330,9 @@ FileHandleSetPosition (
   if FileHandle is a directory.\r
 \r
   @param FileHandle             The open file handle on which to get the position.\r
-  @param Position               Byte position from begining of file.\r
+  @param Position               Byte position from beginning of file.\r
 \r
-  @retval EFI_SUCCESS           the operation completed sucessfully.\r
+  @retval EFI_SUCCESS           the operation completed successfully.\r
   @retval INVALID_PARAMETER     One of the parameters has an invalid value.\r
   @retval EFI_UNSUPPORTED       the request is not valid on directories.\r
 **/\r
@@ -489,7 +489,7 @@ FileHandleFindFirstFile (
   }\r
 \r
   //\r
-  // reset to the begining of the directory\r
+  // reset to the beginning of the directory\r
   //\r
   Status = FileHandleSetPosition(DirHandle, 0);\r
   if (EFI_ERROR(Status)) {\r
@@ -581,7 +581,7 @@ FileHandleFindNextFile(
   @param[in] FileHandle         The file handle from which size is retrieved.\r
   @param[out] Size              The pointer to size.\r
 \r
-  @retval EFI_SUCCESS           Operation was completed sucessfully.\r
+  @retval EFI_SUCCESS           Operation was completed successfully.\r
   @retval EFI_DEVICE_ERROR      Cannot access the file.\r
   @retval EFI_INVALID_PARAMETER FileHandle is NULL.\r
                                 Size is NULL.\r
@@ -821,7 +821,7 @@ FileHandleGetFileName (
         break;\r
       } else {\r
         //\r
-        // We got info... do we have a name? if yes preceed the current path with it...\r
+        // We got info... do we have a name? if yes precede the current path with it...\r
         //\r
         if (StrLen (FileInfo->FileName) == 0) {\r
           if (*FullFileName == NULL) {\r
@@ -1181,7 +1181,7 @@ FileHandleWriteLine(
   @param[in] Format   the format argument (see printlib for format specifier)\r
   @param[in] ...      the variable arguments for the format\r
 \r
-  @retval EFI_SUCCESS the operation was sucessful\r
+  @retval EFI_SUCCESS the operation was successful\r
   @return other       a return value from FileHandleWriteLine\r
 \r
   @sa FileHandleWriteLine\r
index b22a8294a4904b016ebd0ac6d072bb3a18cf8fbe..b1fcbc50970fc5e9bd27cd5cefc624f8395a64ff 100644 (file)
@@ -628,7 +628,7 @@ UsbClearEndpointHalt (
 \r
   ZeroMem (&EndpointDescriptor, sizeof (EFI_USB_ENDPOINT_DESCRIPTOR));\r
   //\r
-  // First seach the endpoint descriptor for that endpoint addr\r
+  // First search the endpoint descriptor for that endpoint addr\r
   //\r
   Result = UsbIo->UsbGetInterfaceDescriptor (\r
                     UsbIo,\r