Pushed at 
https://github.com/tianocore/edk2/commit/619ad10f3af2774880867dd638a8016d3181b516,
 thanks for the contribution.

Star
-----Original Message-----
From: Zeng, Star 
Sent: Thursday, January 19, 2017 9:43 AM
To: Thomas Huth <th...@redhat.com>; Ni, Ruiyu <ruiyu...@intel.com>; 
edk2-de...@ml01.01.org
Cc: Zeng, Star <star.z...@intel.com>
Subject: RE: [edk2] [PATCH] PcAtChipsetPkg: Fix typing errors

Reviewed-by: Star Zeng <star.z...@intel.com>

I can help push the patch at tomorrow if no other comments are received.

Thanks,
Star
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Thomas 
Huth
Sent: Wednesday, January 18, 2017 9:40 PM
To: Ni, Ruiyu <ruiyu...@intel.com>; edk2-de...@ml01.01.org
Subject: [edk2] [PATCH] PcAtChipsetPkg: Fix typing errors

Correct the reported by the codespell utility in some files of PcAtChipsetPkg.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Huth <th...@redhat.com>
---
 PcAtChipsetPkg/8254TimerDxe/Timer.c                     |  6 +++---
 PcAtChipsetPkg/8254TimerDxe/Timer.h                     |  2 +-
 PcAtChipsetPkg/8259InterruptControllerDxe/8259.c        |  4 ++--
 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c |  4 ++--  
PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h |  4 ++--
 PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c                 |  6 +++---
 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c                     | 14 +++++++-------
 PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c                 |  2 +-
 PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h                 | 12 ++++++------
 PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c      |  2 +-
 10 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/PcAtChipsetPkg/8254TimerDxe/Timer.c 
b/PcAtChipsetPkg/8254TimerDxe/Timer.c
index fd8b2ec..2cd888a 100644
--- a/PcAtChipsetPkg/8254TimerDxe/Timer.c
+++ b/PcAtChipsetPkg/8254TimerDxe/Timer.c
@@ -71,8 +71,8 @@ SetPitCount (
 /**
   8254 Timer #0 Interrupt Handler.
 
-  @param InterruptType    The type of interrupt that occured
-  @param SystemContext    A pointer to the system context when the interrupt 
occured
+  @param InterruptType    The type of interrupt that occurred
+  @param SystemContext    A pointer to the system context when the interrupt 
occurred
 **/
 VOID
 EFIAPI
@@ -332,7 +332,7 @@ TimerDriverGenerateSoftInterrupt (
 
   @retval EFI_SUCCESS            Timer Architectural Protocol created
   @retval EFI_OUT_OF_RESOURCES   Not enough resources available to initialize 
driver.
-  @retval EFI_DEVICE_ERROR       A device error occured attempting to 
initialize the driver.
+  @retval EFI_DEVICE_ERROR       A device error occurred attempting to 
initialize the driver.
 
 **/
 EFI_STATUS
diff --git a/PcAtChipsetPkg/8254TimerDxe/Timer.h 
b/PcAtChipsetPkg/8254TimerDxe/Timer.h
index c2c29bb..b2c8afb 100644
--- a/PcAtChipsetPkg/8254TimerDxe/Timer.h
+++ b/PcAtChipsetPkg/8254TimerDxe/Timer.h
@@ -57,7 +57,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER 
EXPRESS OR IMPLIED.
 
   @retval EFI_SUCCESS            Timer Architectural Protocol created
   @retval EFI_OUT_OF_RESOURCES   Not enough resources available to initialize 
driver.
-  @retval EFI_DEVICE_ERROR       A device error occured attempting to 
initialize the driver.
+  @retval EFI_DEVICE_ERROR       A device error occurred attempting to 
initialize the driver.
 
 **/
 EFI_STATUS
diff --git a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c 
b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
index e73a100..7d8265d 100644
--- a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
+++ b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
@@ -139,7 +139,7 @@ Interrupt8259SetVectorBase (
 
     //
     // Preserve interrtup mask register before initialization sequence
-    // because it will be cleared during intialization
+    // because it will be cleared during initialization
     //
     Mask = IoRead8 (LEGACY_8259_MASK_REGISTER_SLAVE);
 
@@ -181,7 +181,7 @@ Interrupt8259SetVectorBase (
 
     //
     // Preserve interrtup mask register before initialization sequence
-    // because it will be cleared during intialization
+    // because it will be cleared during initialization
     //
     Mask = IoRead8 (LEGACY_8259_MASK_REGISTER_MASTER);
 
diff --git a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c 
b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c
index 21b8e26..ebe28e9 100644
--- a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c
+++ b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c
@@ -110,7 +110,7 @@ InitializeIdeControllerDriver (
                                 driver but used by bus driver
 
   @retval EFI_SUCCESS           Driver loaded.
-  @retval !EFI_SUCESS           Driver not loaded.
+  @retval !EFI_SUCCESS          Driver not loaded.
 **/
 EFI_STATUS
 EFIAPI
@@ -249,7 +249,7 @@ IdeControllerStart (
   @param NumberOfChildren   Not used
   @param ChildHandleBuffer  Not used
 
-  @retval EFI_SUCESS        This driver is removed DeviceHandle
+  @retval EFI_SUCCESS       This driver is removed DeviceHandle
   @retval !EFI_SUCCESS      This driver was not removed from this device
 **/
 EFI_STATUS
diff --git a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h 
b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
index 3ecde08..a994b9d 100644
--- a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
+++ b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
@@ -59,7 +59,7 @@ extern EFI_COMPONENT_NAME2_PROTOCOL 
gIdeControllerComponentName2;
                                 driver but used by bus driver
 
   @retval EFI_SUCCESS           Driver loaded.
-  @retval !EFI_SUCESS           Driver not loaded.
+  @retval !EFI_SUCCESS          Driver not loaded.
 **/
 EFI_STATUS
 EFIAPI
@@ -100,7 +100,7 @@ IdeControllerStart (
   @param NumberOfChildren   Not used
   @param ChildHandleBuffer  Not used
 
-  @retval EFI_SUCESS        This driver is removed DeviceHandle
+  @retval EFI_SUCCESS       This driver is removed DeviceHandle
   @retval !EFI_SUCCESS      This driver was not removed from this device
 **/
 EFI_STATUS
diff --git a/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c 
b/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c
index c62c3a9..23afbfa 100644
--- a/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c
+++ b/PcAtChipsetPkg/HpetTimerDxe/HpetTimer.c
@@ -288,8 +288,8 @@ HpetEnable (
   HPET interrupt is passed to that notification function in 100 ns units.  The 
HPET
   time is updated to generate another interrupt in the required time period. 
 
-  @param  InterruptType  The type of interrupt that occured.
-  @param  SystemContext  A pointer to the system context when the interrupt 
occured.
+  @param  InterruptType  The type of interrupt that occurred.
+  @param  SystemContext  A pointer to the system context when the interrupt 
occurred.
 **/
 VOID
 EFIAPI
@@ -753,7 +753,7 @@ TimerDriverGenerateSoftInterrupt (
 
   @retval  EFI_SUCCESS           Timer Architectural Protocol created
   @retval  EFI_OUT_OF_RESOURCES  Not enough resources available to initialize 
driver.
-  @retval  EFI_DEVICE_ERROR      A device error occured attempting to 
initialize the driver.
+  @retval  EFI_DEVICE_ERROR      A device error occurred attempting to 
initialize the driver.
 
 **/
 EFI_STATUS
diff --git a/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c 
b/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c
index 7b1ab1c..a580d55 100644
--- a/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c
+++ b/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c
@@ -190,8 +190,8 @@ IsaDeviceLookup (
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
   @param Device          Point to device ID instance 
 
-  @retval EFI_NOT_FOUND Can not found the next Isa device.
-  @retval EFI_SUCESS    Success retrieve the next Isa device for enumration.
+  @retval EFI_NOT_FOUND  Can not found the next Isa device.
+  @retval EFI_SUCCESS    Success retrieve the next Isa device for enumration.
 
 **/
 EFI_STATUS
@@ -221,7 +221,7 @@ IsaDeviceEnumerate (
   @param OnOff           TRUE for setting isa device power on,
                          FALSE for setting isa device power off
 
-  @return EFI_SUCCESS    Sucess to change power status for isa device.
+  @return EFI_SUCCESS    Success to change power status for isa device.
 **/
 EFI_STATUS
 EFIAPI
@@ -286,7 +286,7 @@ IsaGetPossibleResource (
   @param Device          Point to device ID instance 
   @param ResourceList    Point to resources instances for given isa device
 
-  @return EFI_SUCESS  Success to set resource.
+  @return EFI_SUCCESS  Success to set resource.
 
 **/
 EFI_STATUS
@@ -307,7 +307,7 @@ IsaSetResource (
   @param Device          Point to device ID instance 
   @param Enable          Enable/Disable
 
-  @return EFI_SUCESS  Success to enable/disable.
+  @return EFI_SUCCESS  Success to enable/disable.
 
 **/
 EFI_STATUS
@@ -327,7 +327,7 @@ IsaEnableDevice (
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
   @param Device          Point to device ID instance 
 
-  @return EFI_SUCESS  Success to initialize.
+  @return EFI_SUCCESS  Success to initialize.
 
 **/
 EFI_STATUS
@@ -346,7 +346,7 @@ IsaInitDevice (
 
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
 
-  @return EFI_SUCESS  Success to initialize ISA interface.
+  @return EFI_SUCCESS  Success to initialize ISA interface.
 
 **/
 EFI_STATUS
diff --git a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c 
b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c
index 2b5ba6c..32381b1 100644
--- a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c
+++ b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c
@@ -32,7 +32,7 @@ EFI_DRIVER_BINDING_PROTOCOL gPcatIsaAcpiDriverBinding = {
   @param ImageHandle     Handle for driver image
   @param SystemTable     Point to EFI_SYSTEM_TABLE
 
-  @return Sucess or not for installing driver binding protocol
+  @return Success or not for installing driver binding protocol
 **/
 EFI_STATUS
 EFIAPI
diff --git a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h 
b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h
index 1fcac40..0671127 100644
--- a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h
+++ b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h
@@ -133,7 +133,7 @@ PcatIsaAcpiDriverBindingStop (
   @param Device          Point to device ID instance 
 
   @retval EFI_NOT_FOUND Can not found the next Isa device.
-  @retval EFI_SUCESS    Success retrieve the next Isa device for enumration.
+  @retval EFI_SUCCESS    Success retrieve the next Isa device for enumration.
 
 **/
 EFI_STATUS
@@ -152,7 +152,7 @@ IsaDeviceEnumerate (
   @param OnOff           TRUE for setting isa device power on,
                          FALSE for setting isa device power off
 
-  @return EFI_SUCCESS    Sucess to change power status for isa device.
+  @return EFI_SUCCESS    Success to change power status for isa device.
 **/
 EFI_STATUS
 EFIAPI
@@ -204,7 +204,7 @@ IsaGetPossibleResource (
   @param Device          Point to device ID instance 
   @param ResourceList    Point to resources instances for given isa device
 
-  @return EFI_SUCESS  Success to set resource.
+  @return EFI_SUCCESS  Success to set resource.
 
 **/
 EFI_STATUS
@@ -222,7 +222,7 @@ IsaSetResource (
   @param Device          Point to device ID instance 
   @param Enable          Enable/Disable
 
-  @return EFI_SUCESS  Success to enable/disable.
+  @return EFI_SUCCESS  Success to enable/disable.
 
 **/
 EFI_STATUS
@@ -239,7 +239,7 @@ IsaEnableDevice (
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
   @param Device          Point to device ID instance 
 
-  @return EFI_SUCESS  Success to initialize.
+  @return EFI_SUCCESS  Success to initialize.
 
 **/
 EFI_STATUS
@@ -254,7 +254,7 @@ IsaInitDevice (
 
   @param This            Point to instance of EFI_ISA_ACPI_PROTOCOL
 
-  @return EFI_SUCESS  Success to initialize ISA interface.
+  @return EFI_SUCCESS  Success to initialize ISA interface.
 
 **/
 EFI_STATUS
diff --git a/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c 
b/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
index 1bbb1a2..dcb43fa 100644
--- a/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
+++ b/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c
@@ -60,7 +60,7 @@ UINT8   gBreakSet = 0;
   Initialize the serial device hardware.
   
   If no initialization is required, then return RETURN_SUCCESS.
-  If the serial device was successfuly initialized, then return RETURN_SUCCESS.
+  If the serial device was successfully initialized, then return 
RETURN_SUCCESS.
   If the serial device could not be initialized, then return 
RETURN_DEVICE_ERROR.
   
   @retval RETURN_SUCCESS        The serial device was initialized.
--
1.8.3.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to