From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.81]) by mx.groups.io with SMTP id smtpd.web12.6821.1581039666361823104 for ; Thu, 06 Feb 2020 17:41:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hk8DNSc1; spf=pass (domain: redhat.com, ip: 207.211.31.81, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581039665; 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=CdH100jYA0C5HjbXoxu/zCynP1Y8iw0L6P7UyJTnDQU=; b=hk8DNSc1NHtoxtYnvLUDPklpn0tYNZ7t/nivQt1UW9XkVOGCp5ngiqvNwmEesWHpAJvFgu YDGuFFd5gwzXvBwSOtJtuRW28qVF/t+6yufxd63np/BEGWw286uY0kP0cjQ896UkpIWBbs WM7buHALUsxarZEn8b8XKLwSIKR+SLQ= 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-305-4uU5eJZmNEqG5sbg4ShTKw-1; Thu, 06 Feb 2020 20:41:02 -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 096D8101FC68; Fri, 7 Feb 2020 01:41:01 +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 EEAFB5C3FD; Fri, 7 Feb 2020 01:40:59 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Laszlo Ersek , Eric Dong Subject: [PATCH v3 58/78] OvmfPkg/Virtio: Fix few typos Date: Fri, 7 Feb 2020 02:08:11 +0100 Message-Id: <20200207010831.9046-59-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: 4uU5eJZmNEqG5sbg4ShTKw-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 comments and documentation. Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Laszlo Ersek Signed-off-by: Philippe Mathieu-Daude --- OvmfPkg/Include/Library/VirtioLib.h | 2 +- OvmfPkg/Library/VirtioLib/VirtioLib.c | 2 +- OvmfPkg/VirtioNetDxe/DriverBinding.c | 2 +- OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c | 2 +- OvmfPkg/VirtioRngDxe/VirtioRng.c | 2 +- OvmfPkg/VirtioScsiDxe/VirtioScsi.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/OvmfPkg/Include/Library/VirtioLib.h b/OvmfPkg/Include/Library/= VirtioLib.h index e817a4206f62..e714ec7aee50 100644 --- a/OvmfPkg/Include/Library/VirtioLib.h +++ b/OvmfPkg/Include/Library/VirtioLib.h @@ -292,7 +292,7 @@ Virtio10WriteFeatures ( VIRTIO_UNMAP_SHARED. =20 =20 - @retval EFI_SUCCESS The NumberOfBytes is succesfully mapped. + @retval EFI_SUCCESS The NumberOfBytes is successfully mapped= . @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer. @retval EFI_INVALID_PARAMETER One or more parameters are invalid. diff --git a/OvmfPkg/Library/VirtioLib/VirtioLib.c b/OvmfPkg/Library/Virtio= Lib/VirtioLib.c index 555d2a5ce7c9..e09324813c2d 100644 --- a/OvmfPkg/Library/VirtioLib/VirtioLib.c +++ b/OvmfPkg/Library/VirtioLib/VirtioLib.c @@ -452,7 +452,7 @@ Virtio10WriteFeatures ( VIRTIO_UNMAP_SHARED. =20 =20 - @retval EFI_SUCCESS The NumberOfBytes is succesfully mapped. + @retval EFI_SUCCESS The NumberOfBytes is successfully mapped= . @retval EFI_UNSUPPORTED The HostAddress cannot be mapped as a common buffer. @retval EFI_INVALID_PARAMETER One or more parameters are invalid. diff --git a/OvmfPkg/VirtioNetDxe/DriverBinding.c b/OvmfPkg/VirtioNetDxe/Dr= iverBinding.c index eb0e873657a4..3c400a604650 100644 --- a/OvmfPkg/VirtioNetDxe/DriverBinding.c +++ b/OvmfPkg/VirtioNetDxe/DriverBinding.c @@ -419,7 +419,7 @@ VirtioNetDriverBindingSupported ( device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES The request could not be completed due = to a lack of resources. - @retval Others The driver failded to start the device. + @retval Others The driver failed to start the device. =20 **/ =20 diff --git a/OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c b/OvmfPkg/VirtioNetDxe= /SnpSharedHelpers.c index dc684650d665..d1e3ecfa5a0f 100644 --- a/OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c +++ b/OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c @@ -118,7 +118,7 @@ VirtioNetUninitRing ( a lack of resources. @return Status codes from VirtioMapAllBytesInSharedBuffer() - @retval EFI_SUCCESS Caller-supplied buffer is succesfully ma= pped. + @retval EFI_SUCCESS Caller-supplied buffer is successfully m= apped. */ EFI_STATUS EFIAPI diff --git a/OvmfPkg/VirtioRngDxe/VirtioRng.c b/OvmfPkg/VirtioRngDxe/Virtio= Rng.c index d0e2468c2373..4e2b710f9e49 100644 --- a/OvmfPkg/VirtioRngDxe/VirtioRng.c +++ b/OvmfPkg/VirtioRngDxe/VirtioRng.c @@ -156,7 +156,7 @@ VirtioRngGetRNG ( =20 Dev =3D VIRTIO_ENTROPY_SOURCE_FROM_RNG (This); // - // Map Buffer's system phyiscal address to device address + // Map Buffer's system physical address to device address // Status =3D VirtioMapAllBytesInSharedBuffer ( Dev->VirtIo, diff --git a/OvmfPkg/VirtioScsiDxe/VirtioScsi.c b/OvmfPkg/VirtioScsiDxe/Vir= tioScsi.c index e50a697daa15..935d15439579 100644 --- a/OvmfPkg/VirtioScsiDxe/VirtioScsi.c +++ b/OvmfPkg/VirtioScsiDxe/VirtioScsi.c @@ -497,7 +497,7 @@ VirtioScsiPassThru ( // * we perform the request fine // * but we fail to unmap the "InDataMapping" // - // In that case simply returing the EFI_DEVICE_ERROR is not sufficient= . In + // In that case simply returning the EFI_DEVICE_ERROR is not sufficien= t. In // addition to the error code we also need to update Packet fields // accordingly so that we report the full loss of the incoming transfe= r. // --=20 2.21.1