SignedCapsulePkg: Change OPTIONAL keyword usage style

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3760

Update all use of ', OPTIONAL' to ' OPTIONAL,' for function params.

Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
This commit is contained in:
Michael D Kinney 2021-12-02 18:00:57 -08:00 committed by mergify[bot]
parent 9b8507cabe
commit 18908e6131
4 changed files with 4 additions and 5 deletions

View File

@ -88,7 +88,7 @@ PerformFlashWriteWithProgress (
IN FLASH_ADDRESS_TYPE FlashAddressType, IN FLASH_ADDRESS_TYPE FlashAddressType,
IN VOID *Buffer, IN VOID *Buffer,
IN UINTN Length, IN UINTN Length,
IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress, OPTIONAL IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress OPTIONAL,
IN UINTN StartPercentage, IN UINTN StartPercentage,
IN UINTN EndPercentage IN UINTN EndPercentage
); );

View File

@ -661,7 +661,7 @@ CapsuleAuthenticateSystemFirmware (
VOID VOID
EFIAPI EFIAPI
EdkiiSystemCapsuleLibPcdCallBack ( EdkiiSystemCapsuleLibPcdCallBack (
IN CONST GUID *CallBackGuid, OPTIONAL IN CONST GUID *CallBackGuid OPTIONAL,
IN UINTN CallBackToken, IN UINTN CallBackToken,
IN OUT VOID *TokenData, IN OUT VOID *TokenData,
IN UINTN TokenDataSize IN UINTN TokenDataSize

View File

@ -51,7 +51,7 @@ PerformFlashWriteWithProgress (
IN FLASH_ADDRESS_TYPE FlashAddressType, IN FLASH_ADDRESS_TYPE FlashAddressType,
IN VOID *Buffer, IN VOID *Buffer,
IN UINTN Length, IN UINTN Length,
IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress, OPTIONAL IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress OPTIONAL,
IN UINTN StartPercentage, IN UINTN StartPercentage,
IN UINTN EndPercentage IN UINTN EndPercentage
) )
@ -98,4 +98,3 @@ PerformFlashWrite (
0 0
); );
} }

View File

@ -241,7 +241,7 @@ IsValidCapsuleHeader (
EFI_STATUS EFI_STATUS
ValidateFmpCapsule ( ValidateFmpCapsule (
IN EFI_CAPSULE_HEADER *CapsuleHeader, IN EFI_CAPSULE_HEADER *CapsuleHeader,
OUT BOOLEAN *IsSystemFmp, OPTIONAL OUT BOOLEAN *IsSystemFmp OPTIONAL,
OUT UINT16 *EmbeddedDriverCount OPTIONAL OUT UINT16 *EmbeddedDriverCount OPTIONAL
) )
{ {