From 0c5296153828e87a02545ccd1a4055fbd56875b4 Mon Sep 17 00:00:00 2001 From: Zhichao Gao Date: Mon, 10 Jun 2019 09:38:18 +0800 Subject: [PATCH] MdeMoudlePkg/CapsulePei: Fix coding style issue REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1853 Remove API specifier AreCapsulesStaged and GetScatterGatherHeadEntries because they are internal used. Add space between function name and bracket. Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Cc: Leif Lindholm Signed-off-by: Zhichao gao Reviewed-by: Leif Lindholm Reviewed-by: Hao A Wu --- MdeModulePkg/Universal/CapsulePei/UefiCapsule.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c b/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c index 7c8c7a0f45..b224e200fe 100644 --- a/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c +++ b/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c @@ -1,7 +1,7 @@ /** @file Capsule update PEIM for UEFI2.0 -Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
Copyright (c) 2017, AMD Incorporated. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -800,8 +800,7 @@ BuildMemoryResourceDescriptor ( **/ EFI_STATUS -EFIAPI -AreCapsulesStaged( +AreCapsulesStaged ( OUT BOOLEAN *UpdateCapsules ) { @@ -865,8 +864,7 @@ AreCapsulesStaged( **/ EFI_STATUS -EFIAPI -GetScatterGatherHeadEntries( +GetScatterGatherHeadEntries ( OUT UINTN *ListLength, OUT EFI_PHYSICAL_ADDRESS **HeadList )