summaryrefslogtreecommitdiffstats
path: root/DynamicTablesPkg/Include
diff options
context:
space:
mode:
authorPierre Gondois <Pierre.Gondois@arm.com>2021-09-30 08:48:14 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-10-01 10:57:43 +0000
commit1ad5182500ed8760076ea359ecd8e28edd5d5f53 (patch)
tree1938d2ed302d0b25a901b459f00f8c563cd957c1 /DynamicTablesPkg/Include
parent20775950c673fcd0958d82a987210a3538c4103f (diff)
downloadedk2-1ad5182500ed8760076ea359ecd8e28edd5d5f53.tar.gz
edk2-1ad5182500ed8760076ea359ecd8e28edd5d5f53.tar.bz2
edk2-1ad5182500ed8760076ea359ecd8e28edd5d5f53.zip
DynamicTablesPkg: Rename single char input parameter
The Ecc tool forbids the usage of one char variable: Ecc error 8007: "There should be no use of short (single character) variable names" To follow this policy, rename this one letter parameter. Reviewed-by: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Diffstat (limited to 'DynamicTablesPkg/Include')
-rw-r--r--DynamicTablesPkg/Include/Library/AcpiHelperLib.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/DynamicTablesPkg/Include/Library/AcpiHelperLib.h b/DynamicTablesPkg/Include/Library/AcpiHelperLib.h
index 2731a2e4fb..53ab19b1d1 100644
--- a/DynamicTablesPkg/Include/Library/AcpiHelperLib.h
+++ b/DynamicTablesPkg/Include/Library/AcpiHelperLib.h
@@ -22,15 +22,16 @@
/** Convert a hex number to its ASCII code.
- @param [in] x Hex number to convert.
- Must be 0 <= x < 16.
+ @param [in] Hex Hex number to convert.
+ Must be 0 <= x < 16.
@return The ASCII code corresponding to x.
+ -1 if error.
**/
UINT8
EFIAPI
AsciiFromHex (
- IN UINT8 x
+ IN UINT8 Hex
);
/** Check if a HID is a valid PNP ID.