MdeModulePkg: 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: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Michael D Kinney
2021-12-02 18:00:49 -08:00
committed by mergify[bot]
parent 9c721071d3
commit e3917e22e7
99 changed files with 381 additions and 408 deletions

View File

@@ -192,7 +192,7 @@ BmGetSingleControllerHealthStatus (
IN OUT EFI_BOOT_MANAGER_DRIVER_HEALTH_INFO **DriverHealthInfo,
IN OUT UINTN *Count,
IN EFI_HANDLE DriverHealthHandle,
IN EFI_HANDLE ControllerHandle, OPTIONAL
IN EFI_HANDLE ControllerHandle OPTIONAL,
IN EFI_HANDLE ChildHandle OPTIONAL
)
{

View File

@@ -942,7 +942,7 @@ EfiBootManagerStartHotkeyService (
EFI_STATUS
EFIAPI
EfiBootManagerAddKeyOptionVariable (
OUT EFI_BOOT_MANAGER_KEY_OPTION *AddedOption, OPTIONAL
OUT EFI_BOOT_MANAGER_KEY_OPTION *AddedOption OPTIONAL,
IN UINT16 BootOptionNumber,
IN UINT32 Modifier,
...
@@ -1053,7 +1053,7 @@ EfiBootManagerAddKeyOptionVariable (
EFI_STATUS
EFIAPI
EfiBootManagerDeleteKeyOptionVariable (
IN EFI_BOOT_MANAGER_KEY_OPTION *DeletedOption, OPTIONAL
IN EFI_BOOT_MANAGER_KEY_OPTION *DeletedOption OPTIONAL,
IN UINT32 Modifier,
...
)

View File

@@ -476,7 +476,7 @@ EfiBootManagerInitializeLoadOption (
IN UINT32 Attributes,
IN CHAR16 *Description,
IN EFI_DEVICE_PATH_PROTOCOL *FilePath,
IN UINT8 *OptionalData, OPTIONAL
IN UINT8 *OptionalData OPTIONAL,
IN UINT32 OptionalDataSize
)
{