From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: devel@edk2.groups.io
Cc: Laszlo Ersek <lersek@redhat.com>, Eric Dong <eric.dong@intel.com>
Subject: [PATCH v3 69/78] SignedCapsulePkg: Fix various typos
Date: Fri, 7 Feb 2020 02:08:22 +0100 [thread overview]
Message-ID: <20200207010831.9046-70-philmd@redhat.com> (raw)
In-Reply-To: <20200207010831.9046-1-philmd@redhat.com>
From: Antoine Coeur <coeur@gmx.fr>
Fix various typos in comments and documentation.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
---
SignedCapsulePkg/SignedCapsulePkg.dec | 4 +--
.../Include/Guid/EdkiiSystemFmpCapsule.h | 4 +--
.../Include/Library/IniParsingLib.h | 14 +++++-----
.../Library/IniParsingLib/IniParsingLib.c | 26 +++++++++----------
4 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/SignedCapsulePkg/SignedCapsulePkg.dec b/SignedCapsulePkg/SignedCapsulePkg.dec
index 3492de6c8b9e..04dbf62af42a 100644
--- a/SignedCapsulePkg/SignedCapsulePkg.dec
+++ b/SignedCapsulePkg/SignedCapsulePkg.dec
@@ -53,7 +53,7 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
[PcdsDynamicEx]
## This dynamic PCD holds the EDKII system firmware image descriptor.
# This information can be used for version check in EDKII system FMP capsule.
- # Only if the new EdkiiSystemFrimwareImageDescriptor.Version is not less than
+ # Only if the new EdkiiSystemFirmwareImageDescriptor.Version is not less than
# the current PcdEdkiiSystemFirmwareImageDescriptor.LowestSupportedVersion,
# the EDKII system FmpCapsule will be processed.
# The data structure of this PCD is EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR,
@@ -65,7 +65,7 @@ [PcdsDynamicEx]
## This dynamic PCD hold the GUID of a firmware FFS which includes EDKII
# system firmware image.
- # An EDKII system firmware udpate module need consume this PCD to extract
+ # An EDKII system firmware update module need consume this PCD to extract
# the EDKII system firmware from the capsule image.
# It must be in [PcdsDynamicEx], because the EDKII system firmware update module may
# consume the PCD produced in current system firmware image.
diff --git a/SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h b/SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h
index 1129d715ae25..8295f92a7341 100644
--- a/SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h
+++ b/SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h
@@ -60,7 +60,7 @@
ImageOffset = <ImageOffset> # Fv offset of this SystemFirmware image (HEX)
FileGuid = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX # PcdEdkiiSystemFirmwareFileGuid
- NOTE: The [Name?] entry may have differnt FileGuid.
+ NOTE: The [Name?] entry may have different FileGuid.
Only the one, whose FileGuid matches PcdEdkiiSystemFirmwareFileGuid, takes effect.
The other entry is ignored.
@@ -80,7 +80,7 @@
ImageOffset = <ImageOffset> # Image offset of this SystemFirmware image (HEX)
FileGuid = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX # PcdEdkiiSystemFirmwareFileGuid
- NOTE: The [Name?] entry may have differnt FileGuid.
+ NOTE: The [Name?] entry may have different FileGuid.
Only the one, whose FileGuid matches PcdEdkiiSystemFirmwareFileGuid, takes effect.
The other entry is ignored.
diff --git a/SignedCapsulePkg/Include/Library/IniParsingLib.h b/SignedCapsulePkg/Include/Library/IniParsingLib.h
index 26d100ffde0a..edfdde7e8d32 100644
--- a/SignedCapsulePkg/Include/Library/IniParsingLib.h
+++ b/SignedCapsulePkg/Include/Library/IniParsingLib.h
@@ -14,7 +14,7 @@
3.1) an ASCII String. The valid format is [A-Za-z0-9_]+
3.2) a GUID. The valid format is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, where x is [A-Fa-f0-9]
3.3) a decimal value. The valid format is [0-9]+
- 3.4) a heximal value. The valid format is 0x[A-Fa-f0-9]+
+ 3.4) a hexadecimal value. The valid format is 0x[A-Fa-f0-9]+
4) '#' or ';' can be used as comment at anywhere.
5) TAB(0x20) or SPACE(0x9) can be used as separator.
6) LF(\n, 0xA) or CR(\r, 0xD) can be used as line break.
@@ -106,14 +106,14 @@ GetDecimalUintnFromDataFile (
);
/**
- Get section entry heximal UINTN value.
+ Get section entry hexadecimal UINTN value.
@param[in] Context INI Config file context.
@param[in] SectionName Section name.
@param[in] EntryName Section entry name.
- @param[out] Data Point to the got heximal UINTN value.
+ @param[out] Data Point to the got hexadecimal UINTN value.
- @retval EFI_SUCCESS Section entry heximal UINTN value is got.
+ @retval EFI_SUCCESS Section entry hexadecimal UINTN value is got.
@retval EFI_NOT_FOUND Section is not found.
**/
EFI_STATUS
@@ -126,14 +126,14 @@ GetHexUintnFromDataFile (
);
/**
- Get section entry heximal UINT64 value.
+ Get section entry hexadecimal UINT64 value.
@param[in] Context INI Config file context.
@param[in] SectionName Section name.
@param[in] EntryName Section entry name.
- @param[out] Data Point to the got heximal UINT64 value.
+ @param[out] Data Point to the got hexadecimal UINT64 value.
- @retval EFI_SUCCESS Section entry heximal UINT64 value is got.
+ @retval EFI_SUCCESS Section entry hexadecimal UINT64 value is got.
@retval EFI_NOT_FOUND Section is not found.
**/
EFI_STATUS
diff --git a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c
index 757d65a20647..bea45e0d3be3 100644
--- a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c
+++ b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c
@@ -14,7 +14,7 @@
3.1) an ASCII String. The valid format is [A-Za-z0-9_]+
3.2) a GUID. The valid format is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, where x is [A-Fa-f0-9]
3.3) a decimal value. The valid format is [0-9]+
- 3.4) a heximal value. The valid format is 0x[A-Fa-f0-9]+
+ 3.4) a hexadecimal value. The valid format is 0x[A-Fa-f0-9]+
4) '#' or ';' can be used as comment at anywhere.
5) TAB(0x20) or SPACE(0x9) can be used as separator.
6) LF(\n, 0xA) or CR(\r, 0xD) can be used as line break.
@@ -165,13 +165,13 @@ IsValidDecimalString (
}
/**
- Return if the heximal string is valid.
+ Return if the hexadecimal string is valid.
- @param[in] Hex The heximal string to be checked.
- @param[in] Length The length of heximal string in bytes.
+ @param[in] Hex The hexadecimal string to be checked.
+ @param[in] Length The length of hexadecimal string in bytes.
- @retval TRUE The heximal string is valid.
- @retval FALSE The heximal string is invalid.
+ @retval TRUE The hexadecimal string is valid.
+ @retval FALSE The hexadecimal string is invalid.
**/
BOOLEAN
IsValidHexString (
@@ -388,7 +388,7 @@ ProfileGetLine (
/**
Trim Buffer by removing all CR, LF, TAB, and SPACE chars in its head and tail.
- @param[in, out] Buffer On input, buffer data to be trimed.
+ @param[in, out] Buffer On input, buffer data to be trimmed.
On output, the trimmed buffer.
@param[in, out] BufferSize On input, size of original buffer data.
On output, size of the trimmed buffer.
@@ -1166,14 +1166,14 @@ GetDecimalUintnFromDataFile (
}
/**
- Get section entry heximal UINTN value.
+ Get section entry hexadecimal UINTN value.
@param[in] Context INI Config file context.
@param[in] SectionName Section name.
@param[in] EntryName Section entry name.
- @param[out] Data Point to the got heximal UINTN value.
+ @param[out] Data Point to the got hexadecimal UINTN value.
- @retval EFI_SUCCESS Section entry heximal UINTN value is got.
+ @retval EFI_SUCCESS Section entry hexadecimal UINTN value is got.
@retval EFI_NOT_FOUND Section is not found.
**/
EFI_STATUS
@@ -1210,14 +1210,14 @@ GetHexUintnFromDataFile (
}
/**
- Get section entry heximal UINT64 value.
+ Get section entry hexadecimal UINT64 value.
@param[in] Context INI Config file context.
@param[in] SectionName Section name.
@param[in] EntryName Section entry name.
- @param[out] Data Point to the got heximal UINT64 value.
+ @param[out] Data Point to the got hexadecimal UINT64 value.
- @retval EFI_SUCCESS Section entry heximal UINT64 value is got.
+ @retval EFI_SUCCESS Section entry hexadecimal UINT64 value is got.
@retval EFI_NOT_FOUND Section is not found.
**/
EFI_STATUS
--
2.21.1
next prev parent reply other threads:[~2020-02-07 1:41 UTC|newest]
Thread overview: 84+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-07 1:07 [PATCH v3 00/78] Fix a bunch of typos (part 1) Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 01/78] CryptoPkg/OpensslLib: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 02/78] EmbeddedPkg/VirtualKeyboard: Fix a typo in EFI_INVALID_PARAMETER Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 03/78] EmbeddedPkg/VirtualKeyboard: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 04/78] EmulatorPkg/Sec: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 05/78] EmulatorPkg/Unix: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 06/78] EmulatorPkg/Win: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 07/78] FatPkg/EnhancedFatDxe: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 08/78] FatPkg/FatPei: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 09/78] MdeModulePkg/Application: Improve French translation Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 10/78] MdeModulePkg/Application: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 11/78] MdeModulePkg/Bus/Ata: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 12/78] MdeModulePkg/Bus/I2c: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 13/78] MdeModulePkg/Bus/Isa: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 14/78] MdeModulePkg/Bus/Scsi: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 15/78] MdeModulePkg/Bus/Sd: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 16/78] MdeModulePkg/Core/Pei: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 17/78] MdeModulePkg/Core/PiSmmCore: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 18/78] MdeModulePkg/UsbBusDxe: Fix a typo Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 19/78] MdeModulePkg/UsbMass: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 20/78] MdeModulePkg/UsbMouse: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 21/78] MdeModulePkg/UsbBus: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 22/78] MdeModulePkg/Usb: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 23/78] MdePkg/IndustryStandard: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 24/78] MdePkg/Library/Dxe: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 25/78] MdePkg/Library/Pci: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 26/78] MdePkg/Library/Smm: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 27/78] MdePkg/Ppi: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 28/78] MdePkg/Register: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 29/78] NetworkPkg: Fix a typo Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 30/78] NetworkPkg/ArpDxe: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 31/78] NetworkPkg/Dhcp4Dxe: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 32/78] NetworkPkg/Dhcp6Dxe: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 33/78] NetworkPkg/DnsDxe: Fix a typo Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 34/78] NetworkPkg/DnsDxe: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 35/78] NetworkPkg/DpcDxe: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 36/78] NetworkPkg/HttpBootDxe: Fix a typo in variable name Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 37/78] NetworkPkg/HttpBootDxe: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 38/78] NetworkPkg/HttpDxe: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 39/78] NetworkPkg/Ip4Dxe: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 40/78] NetworkPkg/Ip6Dxe: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 41/78] NetworkPkg/IScsiDxe: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 42/78] NetworkPkg/Library: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 43/78] NetworkPkg/MnpDxe: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 44/78] NetworkPkg/Mtftp4Dxe: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 45/78] NetworkPkg/Mtftp6Dxe: " Philippe Mathieu-Daudé
2020-02-07 1:07 ` [PATCH v3 46/78] NetworkPkg/SnpDxe: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 47/78] NetworkPkg/TcpDxe/Sock: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 48/78] NetworkPkg/TcpDxe/Tcp: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 49/78] NetworkPkg/Tls: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 50/78] NetworkPkg/Udp4Dxe: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 51/78] NetworkPkg/Udp6Dxe: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 52/78] NetworkPkg/UefiPxeBcDxe: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 53/78] NetworkPkg/VlanConfigDxe: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 54/78] OvmfPkg/Acpi: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 55/78] OvmfPkg/Csm: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 56/78] OvmfPkg/Csm/LegacyBios: Fix a typo Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 57/78] OvmfPkg/Qemu: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 58/78] OvmfPkg/Virtio: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 59/78] OvmfPkg/Xen: Fix a typo Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 60/78] OvmfPkg/Xen: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 61/78] PcAtChipsetPkg: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 62/78] SecurityPkg: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 63/78] SecurityPkg/Hash2DxeCrypto: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 64/78] SecurityPkg/Library/Tpm: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 65/78] SecurityPkg/Tcg: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 66/78] SecurityPkg/VariableAuthenticated: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 67/78] ShellPkg/Application: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 68/78] ShellPkg/DynamicCommand: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` Philippe Mathieu-Daudé [this message]
2020-02-07 1:08 ` [PATCH v3 70/78] SignedCapsulePkg/Universal: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 71/78] SourceLevelDebugPkg/DebugAgent: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 72/78] SourceLevelDebugPkg/DebugCommunicationLib: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 73/78] SourceLevelDebugPkg: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 74/78] StandaloneMmPkg: Fix a typo Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 75/78] StandaloneMmPkg: Fix few typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 76/78] UefiCpuPkg/CpuDxe: " Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 77/78] UefiCpuPkg/PiSmm: Fix various typos Philippe Mathieu-Daudé
2020-02-07 1:08 ` [PATCH v3 78/78] UefiCpuPkg/Smm: " Philippe Mathieu-Daudé
2020-02-07 10:51 ` [PATCH v3 00/78] Fix a bunch of typos (part 1) Laszlo Ersek
2020-02-10 22:54 ` [edk2-devel] " Laszlo Ersek
2020-02-11 12:12 ` Philippe Mathieu-Daudé
2020-02-12 12:02 ` Laszlo Ersek
2020-02-12 17:01 ` Cœur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200207010831.9046-70-philmd@redhat.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox