From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 63A8F81E18 for ; Wed, 18 Jan 2017 05:40:16 -0800 (PST) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 76F4ECD9D2; Wed, 18 Jan 2017 13:40:17 +0000 (UTC) Received: from thh440s.redhat.com (ovpn-116-60.ams2.redhat.com [10.36.116.60]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v0IDeF0X030224; Wed, 18 Jan 2017 08:40:16 -0500 From: Thomas Huth To: Ruiyu Ni , edk2-devel@ml01.01.org Date: Wed, 18 Jan 2017 14:40:15 +0100 Message-Id: <1484746815-25597-1-git-send-email-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 18 Jan 2017 13:40:17 +0000 (UTC) Subject: [PATCH] PcAtChipsetPkg: Fix 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: Wed, 18 Jan 2017 13:40:16 -0000 Correct the reported by the codespell utility in some files of PcAtChipsetPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Thomas Huth --- 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