From 05db766bee88c1db2ebe9566eb088cceb05fed93 Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Tue, 23 Aug 2022 18:00:09 +0200 Subject: [PATCH] ArmPkg: Remove duplicated words In an effort to clean the documentation of the above package, remove duplicated words, and fix a typo while at it. Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar Reviewed-by: Leif Lindholm --- ArmPkg/Drivers/ArmScmiDxe/Scmi.c | 4 ++-- ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ArmPkg/Drivers/ArmScmiDxe/Scmi.c b/ArmPkg/Drivers/ArmScmiDxe/Scmi.c index d5a1ff0be3..fcf4ed496f 100644 --- a/ArmPkg/Drivers/ArmScmiDxe/Scmi.c +++ b/ArmPkg/Drivers/ArmScmiDxe/Scmi.c @@ -145,8 +145,8 @@ ScmiCommandExecute ( /** Internal common function useful for common protocol discovery messages. - @param[in] ProtocolId Protocol Id of the the protocol. - @param[in] MesaageId Message Id of the message. + @param[in] ProtocolId Protocol Id of the protocol. + @param[in] MessageId Message Id of the message. @param[out] ReturnValues SCMI response return values. diff --git a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c index 4a0513392a..e5ecc73751 100644 --- a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c +++ b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c @@ -613,7 +613,7 @@ ArmConfigureMmu ( // loss of coherency when using mismatched attributes, and given that memory // is mapped cacheable except for extraordinary cases (such as non-coherent // DMA), have the page table walker perform cached accesses as well, and - // assert below that that matches the attributes we use for CPU accesses to + // assert below that matches the attributes we use for CPU accesses to // the region. // TCR |= TCR_SH_INNER_SHAREABLE |