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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2775081E5F for ; Wed, 18 Jan 2017 17:42:54 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jan 2017 17:42:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,251,1477983600"; d="scan'208";a="1084674628" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 18 Jan 2017 17:42:45 -0800 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 18 Jan 2017 17:42:45 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 18 Jan 2017 17:42:45 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0248.002; Thu, 19 Jan 2017 09:42:43 +0800 From: "Zeng, Star" To: Thomas Huth , "Ni, Ruiyu" , "edk2-devel@ml01.01.org" CC: "Zeng, Star" Thread-Topic: [edk2] [PATCH] PcAtChipsetPkg: Fix typing errors Thread-Index: AQHScZBwimNQJqiQDkqeQJeZIIgxr6E/BueA Date: Thu, 19 Jan 2017 01:42:42 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B81804D@shsmsx102.ccr.corp.intel.com> References: <1484746815-25597-1-git-send-email-thuth@redhat.com> In-Reply-To: <1484746815-25597-1-git-send-email-thuth@redhat.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [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: Thu, 19 Jan 2017 01:42:54 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Star Zeng I can help push the patch at tomorrow if no other comments are received. Thanks, Star -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Thom= as Huth Sent: Wednesday, January 18, 2017 9:40 PM To: Ni, Ruiyu ; edk2-devel@ml01.01.org Subject: [edk2] [PATCH] PcAtChipsetPkg: Fix typing errors Correct the reported by the codespell utility in some files of PcAtChipsetP= kg. 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 ++-- PcAtChi= psetPkg/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/8254Timer= Dxe/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. =20 - @param InterruptType The type of interrupt that occured - @param SystemContext A pointer to the system context when the interru= pt occured + @param InterruptType The type of interrupt that occurred + @param SystemContext A pointer to the system context when the interru= pt occurred **/ VOID EFIAPI @@ -332,7 +332,7 @@ TimerDriverGenerateSoftInterrupt ( =20 @retval EFI_SUCCESS Timer Architectural Protocol created @retval EFI_OUT_OF_RESOURCES Not enough resources available to initial= ize driver. - @retval EFI_DEVICE_ERROR A device error occured attempting to init= ialize the driver. + @retval EFI_DEVICE_ERROR A device error occurred attempting to ini= tialize the driver. =20 **/ EFI_STATUS diff --git a/PcAtChipsetPkg/8254TimerDxe/Timer.h b/PcAtChipsetPkg/8254Timer= Dxe/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. =20 @retval EFI_SUCCESS Timer Architectural Protocol created @retval EFI_OUT_OF_RESOURCES Not enough resources available to initial= ize driver. - @retval EFI_DEVICE_ERROR A device error occured attempting to init= ialize the driver. + @retval EFI_DEVICE_ERROR A device error occurred attempting to ini= tialize the driver. =20 **/ EFI_STATUS diff --git a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c b/PcAtChipset= Pkg/8259InterruptControllerDxe/8259.c index e73a100..7d8265d 100644 --- a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c +++ b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c @@ -139,7 +139,7 @@ Interrupt8259SetVectorBase ( =20 // // Preserve interrtup mask register before initialization sequence - // because it will be cleared during intialization + // because it will be cleared during initialization // Mask =3D IoRead8 (LEGACY_8259_MASK_REGISTER_SLAVE); =20 @@ -181,7 +181,7 @@ Interrupt8259SetVectorBase ( =20 // // Preserve interrtup mask register before initialization sequence - // because it will be cleared during intialization + // because it will be cleared during initialization // Mask =3D IoRead8 (LEGACY_8259_MASK_REGISTER_MASTER); =20 diff --git a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.c b/PcAt= ChipsetPkg/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 =20 @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 =20 - @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/PcAt= ChipsetPkg/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 gIdeControllerCompone= ntName2; driver but used by bus driver =20 @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 =20 - @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/HpetT= imerDxe/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 perio= d.=20 =20 - @param InterruptType The type of interrupt that occured. - @param SystemContext A pointer to the system context when the interrup= t occured. + @param InterruptType The type of interrupt that occurred. + @param SystemContext A pointer to the system context when the interrup= t occurred. **/ VOID EFIAPI @@ -753,7 +753,7 @@ TimerDriverGenerateSoftInterrupt ( =20 @retval EFI_SUCCESS Timer Architectural Protocol created @retval EFI_OUT_OF_RESOURCES Not enough resources available to initial= ize driver. - @retval EFI_DEVICE_ERROR A device error occured attempting to init= ialize the driver. + @retval EFI_DEVICE_ERROR A device error occurred attempting to ini= tialize the driver. =20 **/ EFI_STATUS diff --git a/PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.c b/PcAtChipsetPkg/IsaAcpiDx= e/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=20 =20 - @retval EFI_NOT_FOUND Can not found the next Isa device. - @retval EFI_SUCESS Success retrieve the next Isa device for enumratio= n. + @retval EFI_NOT_FOUND Can not found the next Isa device. + @retval EFI_SUCCESS Success retrieve the next Isa device for enumrati= on. =20 **/ EFI_STATUS @@ -221,7 +221,7 @@ IsaDeviceEnumerate ( @param OnOff TRUE for setting isa device power on, FALSE for setting isa device power off =20 - @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=20 @param ResourceList Point to resources instances for given isa device =20 - @return EFI_SUCESS Success to set resource. + @return EFI_SUCCESS Success to set resource. =20 **/ EFI_STATUS @@ -307,7 +307,7 @@ IsaSetResource ( @param Device Point to device ID instance=20 @param Enable Enable/Disable =20 - @return EFI_SUCESS Success to enable/disable. + @return EFI_SUCCESS Success to enable/disable. =20 **/ EFI_STATUS @@ -327,7 +327,7 @@ IsaEnableDevice ( @param This Point to instance of EFI_ISA_ACPI_PROTOCOL @param Device Point to device ID instance=20 =20 - @return EFI_SUCESS Success to initialize. + @return EFI_SUCCESS Success to initialize. =20 **/ EFI_STATUS @@ -346,7 +346,7 @@ IsaInitDevice ( =20 @param This Point to instance of EFI_ISA_ACPI_PROTOCOL =20 - @return EFI_SUCESS Success to initialize ISA interface. + @return EFI_SUCCESS Success to initialize ISA interface. =20 **/ EFI_STATUS diff --git a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c b/PcAtChipsetPkg/IsaAc= piDxe/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 =3D= { @param ImageHandle Handle for driver image @param SystemTable Point to EFI_SYSTEM_TABLE =20 - @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/IsaAc= piDxe/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=20 =20 @retval EFI_NOT_FOUND Can not found the next Isa device. - @retval EFI_SUCESS Success retrieve the next Isa device for enumratio= n. + @retval EFI_SUCCESS Success retrieve the next Isa device for enumrati= on. =20 **/ EFI_STATUS @@ -152,7 +152,7 @@ IsaDeviceEnumerate ( @param OnOff TRUE for setting isa device power on, FALSE for setting isa device power off =20 - @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=20 @param ResourceList Point to resources instances for given isa device =20 - @return EFI_SUCESS Success to set resource. + @return EFI_SUCCESS Success to set resource. =20 **/ EFI_STATUS @@ -222,7 +222,7 @@ IsaSetResource ( @param Device Point to device ID instance=20 @param Enable Enable/Disable =20 - @return EFI_SUCESS Success to enable/disable. + @return EFI_SUCCESS Success to enable/disable. =20 **/ EFI_STATUS @@ -239,7 +239,7 @@ IsaEnableDevice ( @param This Point to instance of EFI_ISA_ACPI_PROTOCOL @param Device Point to device ID instance=20 =20 - @return EFI_SUCESS Success to initialize. + @return EFI_SUCCESS Success to initialize. =20 **/ EFI_STATUS @@ -254,7 +254,7 @@ IsaInitDevice ( =20 @param This Point to instance of EFI_ISA_ACPI_PROTOCOL =20 - @return EFI_SUCESS Success to initialize ISA interface. + @return EFI_SUCCESS Success to initialize ISA interface. =20 **/ EFI_STATUS diff --git a/PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c b/PcAtChips= etPkg/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 =3D 0; Initialize the serial device hardware. =20 If no initialization is required, then return RETURN_SUCCESS. - If the serial device was successfuly initialized, then return RETURN_SUC= CESS. + If the serial device was successfully initialized, then return RETURN_SU= CCESS. If the serial device could not be initialized, then return RETURN_DEVICE= _ERROR. =20 @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