From nobody Sat Feb 7 08:13:54 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+51629+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+51629+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1575389866; cv=none; d=zohomail.com; s=zohoarc; b=PHF+CwuyiaX8h0R1vJfbgglPf2PKyX8kLvt/DpDw+92Y/RSIP9AvA0z2rEOtjP1qAESkN9yy5+rBGT6KMM2XhIYJDuB0ck/BVYQI/00zG/5WbbPUQnN9fnYJ+5n+F7fv1VXg6QPlbg2nRwJSdV+Y7LnxxDI+U76j2nydk6jbgBQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575389866; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=2KIvIhbJqClqZ8Ogfqjga0XY55N6oGwg0viXUgGRa+s=; b=K7ShRfrz37yd4IzQOmTWGB2YPU0YDPfpKu40offcMBYbFqZhpytYQ3sICeLo/I5mjk1PWrm3GXxxOuMyhJRsje24yhFfOPYHHeHR8Zz6BneV7psMikKa6qKyLQOR523A/qhD+vhpUzHPfipg+42gvnfWl8rHBgXHA1tTbnbMzGg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+51629+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1575389866655994.8787633302353; Tue, 3 Dec 2019 08:17:46 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id aaaaYY1788612xaaaaaaaaaa; Tue, 03 Dec 2019 08:17:46 -0800 X-Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.120]) by mx.groups.io with SMTP id smtpd.web09.8112.1575389865548439355 for ; Tue, 03 Dec 2019 08:17:45 -0800 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-29-ADEM99cROg6QAepDTRO-RA-1; Tue, 03 Dec 2019 11:17:42 -0500 X-Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 27B00800D41; Tue, 3 Dec 2019 16:17:41 +0000 (UTC) X-Received: from x1w.redhat.com (ovpn-204-86.brq.redhat.com [10.40.204.86]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B2E4A60C63; Tue, 3 Dec 2019 16:17:38 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Jian J Wang , Hao A Wu , Ray Ni , Philippe Mathieu-Daude Subject: [edk2-devel] [PATCH 24/79] MdeModulePkg/Usb: Fix various typos Date: Tue, 3 Dec 2019 17:15:07 +0100 Message-Id: <20191203161602.15969-25-philmd@redhat.com> In-Reply-To: <20191203161602.15969-1-philmd@redhat.com> References: <20191203161602.15969-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: ADEM99cROg6QAepDTRO-RA-1 X-Mimecast-Spam-Score: 0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,philmd@redhat.com X-Gm-Message-State: aaaaaaaaaaaaaaaaaaaaaaaax1787277AA= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1575389866; bh=/Rqt35bXeuQGKLQl3jsecLg+2x8Zj16arVBR9oLew1k=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=XPsJSaX76Yj30P7wdTgOQt/6jBY30ndwZAxx4Q3h5sOLB6oyg8PvVB1D4oFJ7vEBgV4 ht6KKkKg+n+fM73SQ79M1VMdW00Oun7ulveMZ+5Zf789jczl51Pn3VyGnOzm3/Gqly9HT VnJEv1HP6phqiRpsVGdFaflZUDGfxeNFfYY= X-ZohoMail-DKIM: pass (identity @groups.io) From: Antoine Coeur Fix various typos in comments and documentation. Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Signed-off-by: Philippe Mathieu-Daude --- MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.h | 2 +- MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h | 10 +++++----- MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h | 2 +- MdeModulePkg/Bus/Usb/UsbBotPei/BotPeim.c | 2 +- MdeModulePkg/Bus/Usb/UsbBotPei/PeiAtapi.c | 2 +- MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.c | 2 +- MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c | 8 ++++---- MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c | 6 +++--- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.h b/MdeModulePkg/Bus/= Usb/UsbBotPei/PeiUsbLib.h index 266581b80995..e06e2533a776 100644 --- a/MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.h +++ b/MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.h @@ -1,5 +1,5 @@ /** @file -Common Libarary for PEI USB. +Common Library for PEI USB. =20 Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.
=20 diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h b/MdeModulePkg/Bus/Usb/= UsbKbDxe/EfiKey.h index 65819e43e6bd..852e43390d81 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h @@ -377,7 +377,7 @@ UsbKeyboardComponentNameGetControllerName ( // Functions of Simple Text Input Protocol // /** - Reset the input device and optionaly run diagnostics + Reset the input device and optionally run diagnostics =20 There are 2 types of reset for USB keyboard. For non-exhaustive reset, only keyboard buffer is cleared. @@ -406,8 +406,8 @@ USBKeyboardReset ( information for the key that was pressed. =20 @retval EFI_SUCCESS The keystroke information was returned. - @retval EFI_NOT_READY There was no keystroke data availiable. - @retval EFI_DEVICE_ERROR The keydtroke information was not returned = due to + @retval EFI_NOT_READY There was no keystroke data available. + @retval EFI_DEVICE_ERROR The keystroke information was not returned = due to hardware errors. =20 **/ @@ -507,7 +507,7 @@ USBKeyboardSetState ( @param NotifyHandle Points to the unique handle assigned= to the registered notification. =20 @retval EFI_SUCCESS The notification function was regist= ered successfully. - @retval EFI_OUT_OF_RESOURCES Unable to allocate resources for nec= esssary data structures. + @retval EFI_OUT_OF_RESOURCES Unable to allocate resources for nec= essary data structures. @retval EFI_INVALID_PARAMETER KeyData or NotifyHandle or KeyNotifi= cationFunction is NULL. =20 **/ @@ -574,7 +574,7 @@ KbdFreeNotifyList ( @param InputData A pointer to keystroke data for the key that w= as pressed. =20 @retval TRUE Key pressed matches a registered key. - @retval FLASE Key pressed does not matche a registered key. + @retval FALSE Key pressed does not match a registered key. =20 **/ BOOLEAN diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h b/MdeModulePkg/Bus/Us= b/UsbKbDxe/KeyBoard.h index 601fdd0c92e2..811f136b65b2 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h @@ -108,7 +108,7 @@ ReleaseKeyboardLayoutResources ( =20 This function is the handler function for USB keyboard's asynchronous in= terrupt transfer to manage the keyboard. It parses the USB keyboard input report, and ins= erts data to - keyboard buffer according to state of modifer keys and normal keys. Time= r for repeat key + keyboard buffer according to state of modifier keys and normal keys. Tim= er for repeat key is also set accordingly. =20 @param Data A pointer to a buffer that is filled with key d= ata which is diff --git a/MdeModulePkg/Bus/Usb/UsbBotPei/BotPeim.c b/MdeModulePkg/Bus/Us= b/UsbBotPei/BotPeim.c index 5c071c661a45..2b1ca20a6314 100644 --- a/MdeModulePkg/Bus/Usb/UsbBotPei/BotPeim.c +++ b/MdeModulePkg/Bus/Usb/UsbBotPei/BotPeim.c @@ -192,7 +192,7 @@ BotDataPhase ( TransferredSize =3D 0; =20 // - // retrieve the the max packet length of the given endpoint + // retrieve the max packet length of the given endpoint // if (Direction =3D=3D EfiUsbDataIn) { MaxPacketLen =3D (PeiBotDev->BulkInEndpoint)->MaxPacketSize; diff --git a/MdeModulePkg/Bus/Usb/UsbBotPei/PeiAtapi.c b/MdeModulePkg/Bus/U= sb/UsbBotPei/PeiAtapi.c index 9e6e748845d4..41f782a78bf9 100644 --- a/MdeModulePkg/Bus/Usb/UsbBotPei/PeiAtapi.c +++ b/MdeModulePkg/Bus/Usb/UsbBotPei/PeiAtapi.c @@ -1,5 +1,5 @@ /** @file -Pei USB ATATPI command implementations. +Pei USB ATAPI command implementations. =20 Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.
=20 diff --git a/MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.c b/MdeModulePkg/Bus/= Usb/UsbBotPei/PeiUsbLib.c index fe9e6203010e..292682a2e447 100644 --- a/MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.c +++ b/MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.c @@ -1,5 +1,5 @@ /** @file -Common Libarary for PEI USB. +Common Library for PEI USB. =20 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
=20 diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c b/MdeModulePkg/Bus/Usb/= UsbKbDxe/EfiKey.c index 27685995c238..8792a36e4722 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c @@ -583,7 +583,7 @@ USBKeyboardDriverBindingStop ( data for the key that was pressed. =20 @retval EFI_SUCCESS The keystroke information was returned. - @retval EFI_NOT_READY There was no keystroke data availiable. + @retval EFI_NOT_READY There was no keystroke data available. @retval EFI_DEVICE_ERROR The keystroke information was not return= ed due to hardware errors. @retval EFI_INVALID_PARAMETER KeyData is NULL. @@ -684,7 +684,7 @@ USBKeyboardReset ( information for the key that was pressed. =20 @retval EFI_SUCCESS The keystroke information was returned. - @retval EFI_NOT_READY There was no keystroke data availiable. + @retval EFI_NOT_READY There was no keystroke data available. @retval EFI_DEVICE_ERROR The keystroke information was not returned = due to hardware errors. =20 @@ -763,7 +763,7 @@ USBKeyboardWaitForKey ( OldTpl =3D gBS->RaiseTPL (TPL_NOTIFY); =20 // - // WaitforKey doesn't suppor the partial key. + // WaitforKey doesn't support the partial key. // Considering if the partial keystroke is enabled, there maybe a partial // keystroke in the queue, so here skip the partial keystroke and get the // next key from the queue @@ -870,7 +870,7 @@ KbdFreeNotifyList ( @param InputData A pointer to keystroke data for the key that w= as pressed. =20 @retval TRUE Key pressed matches a registered key. - @retval FLASE Key pressed does not matches a registered key. + @retval FALSE Key pressed does not matches a registered key. =20 **/ BOOLEAN diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c b/MdeModulePkg/Bus/Us= b/UsbKbDxe/KeyBoard.c index 7eb65b8815c1..5faf82ea579c 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c @@ -253,7 +253,7 @@ UINT8 EfiKeyToUsbKeyCodeConvertionTable[] =3D { }; =20 // -// Keyboard modifier value to EFI Scan Code convertion table +// Keyboard modifier value to EFI Scan Code conversion table // EFI Scan Code and the modifier values are defined in UEFI spec. // UINT8 ModifierValueToEfiScanCodeConvertionTable[] =3D { @@ -569,7 +569,7 @@ FindPhysicalKey ( =20 This function is registered to event of EFI_HII_SET_KEYBOARD_LAYOUT_EVEN= T_GUID group type, which will be triggered by EFI_HII_DATABASE_PROTOCOL.SetKeyb= oardLayout(). - It tries to get curent keyboard layout from HII database. + It tries to get current keyboard layout from HII database. =20 @param Event Event being signaled. @param Context Points to USB_KB_DEV instance. @@ -1084,7 +1084,7 @@ KeyboardHandler ( =20 // // Handle modifier key's pressing or releasing situation. - // According to USB HID Firmware spec, Byte 0 uses folloing map of Modif= ier keys: + // According to USB HID Firmware spec, Byte 0 uses following map of Modi= fier keys: // Bit0: Left Control, Keycode: 0xe0 // Bit1: Left Shift, Keycode: 0xe1 // Bit2: Left Alt, Keycode: 0xe2 --=20 2.21.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#51629): https://edk2.groups.io/g/devel/message/51629 Mute This Topic: https://groups.io/mt/65773562/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-