From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web09.6472.1581037723780536831 for ; Thu, 06 Feb 2020 17:08:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NeH7xrIv; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581037722; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RzjDbZhWu6O7fqJPsv6s1u3q3fWhmbjxrBJEF7jvEZw=; b=NeH7xrIv1UhAvq2RTs1WHAGB9GgbGQbA2c1mchv6W5IYzpvrcpAi9h5m6qBZNb3XQuPjB7 w6t7qnqxE7nUaOeQrotfTWO5dIHhldj0c3HrIjPCQRkyXWOcc9fiH+cVb121xRzknnqveN NftTKNLJl0ekC5NU2LihB5EQxZh/GOk= 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-18-dmLX_w-jM4CAZizQ7JlwSw-1; Thu, 06 Feb 2020 20:08:40 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F2A91100726C; Fri, 7 Feb 2020 01:08:39 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-120.brq.redhat.com [10.40.204.120]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E439A5C1BB; Fri, 7 Feb 2020 01:08:38 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Laszlo Ersek , Eric Dong Subject: [PATCH v3 03/78] EmbeddedPkg/VirtualKeyboard: Fix few typos Date: Fri, 7 Feb 2020 02:07:16 +0100 Message-Id: <20200207010831.9046-4-philmd@redhat.com> In-Reply-To: <20200207010831.9046-1-philmd@redhat.com> References: <20200207010831.9046-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: dmLX_w-jM4CAZizQ7JlwSw-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Antoine Coeur Fix few typos in the documentation. Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Ard Biesheuvel Signed-off-by: Philippe Mathieu-Daude --- v3: has been stroked -> has been struck (Ard) --- .../Drivers/VirtualKeyboardDxe/VirtualKeyboard.h | 14 +++++++------- .../Drivers/VirtualKeyboardDxe/VirtualKeyboard.c | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/EmbeddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboard.h b/Emb= eddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboard.h index 29bc7a06fb16..d77bfe0167cd 100644 --- a/EmbeddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboard.h +++ b/EmbeddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboard.h @@ -323,7 +323,7 @@ VirtualKeyboardReset ( ); =20 /** - Reset the input device and optionaly run diagnostics + Reset the input device and optionally run diagnostics =20 @param This Protocol instance pointer. @param ExtendedVerification Driver may perform diagnostics on reset. @@ -373,7 +373,7 @@ VirtualKeyboardSetState ( =20 =20 @retval EFI_SUCCESS The notification function was registered= successfully. - @retval EFI_OUT_OF_RESOURCES Unable to allocate resources for necesss= ary data structures. + @retval EFI_OUT_OF_RESOURCES Unable to allocate resources for necessa= ry data structures. @retval EFI_INVALID_PARAMETER KeyData or NotifyHandle is NULL. =20 **/ @@ -429,7 +429,7 @@ VirtualKeyboardFreeNotifyList ( state data for the key that was pressed. =20 @retval TRUE Key be pressed matches a registered key. - @retval FLASE Match failed. + @retval FALSE Match failed. =20 **/ BOOLEAN @@ -441,7 +441,7 @@ IsKeyRegistered ( /** Waiting on the keyboard event, if there's any key pressed by the user, s= ignal the event =20 - @param Event The event that be siganlled when any key has been st= roked. + @param Event The event that be signalled when any key has been st= ruck. @param Context Pointer of the protocol EFI_SIMPLE_TEXT_INPUT_PROTOC= OL. =20 **/ @@ -455,7 +455,7 @@ VirtualKeyboardWaitForKey ( /** Waiting on the keyboard event, if there's any key pressed by the user, s= ignal the event =20 - @param Event The event that be siganlled when any key has been strok= ed. + @param Event The event that be signalled when any key has been struc= k. @param Context Pointer of the protocol EFI_SIMPLE_TEXT_INPUT_EX_PROTOC= OL. =20 **/ @@ -514,14 +514,14 @@ VirtualKeyboardReadKeyStroke ( =20 /** Reads the next keystroke from the input device. The WaitForKey Event can - be used to test for existance of a keystroke via WaitForEvent () call. + be used to test for existence of a keystroke via WaitForEvent () call. =20 @param This Protocol instance pointer. @param KeyData A pointer to a buffer that is filled in with the ke= ystroke state 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 returne= d due to hardware errors. @retval EFI_INVALID_PARAMETER KeyData is NULL. diff --git a/EmbeddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboard.c b/Emb= eddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboard.c index 750371a06723..e9d0b72ee6c3 100644 --- a/EmbeddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboard.c +++ b/EmbeddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboard.c @@ -437,7 +437,7 @@ VirtualKeyboardFreeNotifyList ( pressed. =20 @retval TRUE Key be pressed matches a registered key. - @retval FLASE Match failed. + @retval FALSE Match failed. =20 **/ BOOLEAN @@ -476,7 +476,7 @@ IsKeyRegistered ( Signal the event if there is key available =20 @param Event the event object - @param Context waitting context + @param Context waiting context =20 **/ VOID @@ -580,7 +580,7 @@ VirtualKeyboardReset ( } =20 /** - Reset the input device and optionaly run diagnostics + Reset the input device and optionally run diagnostics =20 @param This Protocol instance pointer. @param ExtendedVerification Driver may perform diagnostics on reset. @@ -621,7 +621,7 @@ VirtualKeyboardResetEx ( =20 /** Reads the next keystroke from the input device. The WaitForKey Event can - be used to test for existance of a keystroke via WaitForEvent () call. + be used to test for existence of a keystroke via WaitForEvent () call. =20 @param VirtualKeyboardPrivate Virtualkeyboard driver private structur= e. @param KeyData A pointer to a buffer that is filled in @@ -629,7 +629,7 @@ VirtualKeyboardResetEx ( 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 retur= ned due to hardware errors. @retval EFI_INVALID_PARAMETER KeyData is NULL. @@ -731,14 +731,14 @@ VirtualKeyboardReadKeyStroke ( =20 /** Reads the next keystroke from the input device. The WaitForKey Event can - be used to test for existance of a keystroke via WaitForEvent () call. + be used to test for existence of a keystroke via WaitForEvent () call. =20 @param This Protocol instance pointer. @param KeyData A pointer to a buffer that is filled in with the keystroke state 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 returne= d due to hardware errors. @retval EFI_INVALID_PARAMETER KeyData is NULL. @@ -808,7 +808,7 @@ VirtualKeyboardSetState ( =20 @retval EFI_SUCCESS The notification function was registered successfully. - @retval EFI_OUT_OF_RESOURCES Unable to allocate resources for necesss= ary + @retval EFI_OUT_OF_RESOURCES Unable to allocate resources for necessa= ry data structures. @retval EFI_INVALID_PARAMETER KeyData or NotifyHandle is NULL. =20 --=20 2.21.1