From: Sami Mujawar Date: Mon, 7 Dec 2020 12:46:04 +0000 (+0000) Subject: StandaloneMmPkg: Fix ECC error 9002 in CoreMemoryAllocationLib X-Git-Tag: edk2-stable202102~194 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=0720bb7e4dd6efbfcbe563d619a4fd20e7d0aa5e StandaloneMmPkg: Fix ECC error 9002 in CoreMemoryAllocationLib Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3150) Fix the ECC reported error "[9002] The function headers should follow Doxygen special documentation blocks in section 2.3.5". Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel Reviewed-by: Liming Gao --- diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c b/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c index eb3d772e18..8fbd4d9347 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c @@ -2,7 +2,7 @@ Support routines for memory allocation routines based on Standalone MM Core internal functions. Copyright (c) 2015, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2021, ARM Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -822,8 +822,8 @@ FreePool ( The constructor function calls MmInitializeMemoryServices to initialize memory in MMRAM and caches EFI_MM_SYSTEM_TABLE pointer. - @param ImageHandle The firmware allocated handle for the EFI image. - @param SystemTable A pointer to the Management mode System Table. + @param [in] ImageHandle The firmware allocated handle for the EFI image. + @param [in] MmSystemTable A pointer to the Management mode System Table. @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.