public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Ruiyu Ni <ruiyu.ni@intel.com>, edk2-devel@ml01.01.org
Subject: [PATCH] PcAtChipsetPkg: Fix typing errors
Date: Wed, 18 Jan 2017 14:40:15 +0100	[thread overview]
Message-ID: <1484746815-25597-1-git-send-email-thuth@redhat.com> (raw)

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

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Huth <thuth@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



             reply	other threads:[~2017-01-18 13:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 13:40 Thomas Huth [this message]
2017-01-19  1:42 ` [PATCH] PcAtChipsetPkg: Fix typing errors Zeng, Star
2017-01-20  0:54   ` Zeng, Star

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1484746815-25597-1-git-send-email-thuth@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox