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

@@ -1854,7 +1854,7 @@ EFIAPI
PciIoGetBarAttributes (
IN EFI_PCI_IO_PROTOCOL * This,
IN UINT8 BarIndex,
OUT UINT64 *Supports, OPTIONAL
OUT UINT64 *Supports OPTIONAL,
OUT VOID **Resources OPTIONAL
)
{
@@ -2084,4 +2084,3 @@ PciDevicesOnTheSamePath (
return (BOOLEAN) (Existed1 || Existed2);
}

View File

@@ -602,7 +602,7 @@ EFIAPI
PciIoGetBarAttributes (
IN EFI_PCI_IO_PROTOCOL * This,
IN UINT8 BarIndex,
OUT UINT64 *Supports, OPTIONAL
OUT UINT64 *Supports OPTIONAL,
OUT VOID **Resources OPTIONAL
);

View File

@@ -421,7 +421,7 @@ CreateSerialDevice (
IN BOOLEAN CreateControllerNode,
IN UINT32 Instance,
IN PARENT_IO_PROTOCOL_PTR ParentIo,
IN PCI_SERIAL_PARAMETER *PciSerialParameter, OPTIONAL
IN PCI_SERIAL_PARAMETER *PciSerialParameter OPTIONAL,
IN PCI_DEVICE_INFO *PciDeviceInfo OPTIONAL
)
{

View File

@@ -165,7 +165,7 @@ EFIAPI
SdMmcPciHcComponentNameGetControllerName (
IN EFI_COMPONENT_NAME_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_HANDLE ChildHandle, OPTIONAL
IN EFI_HANDLE ChildHandle OPTIONAL,
IN CHAR8 *Language,
OUT CHAR16 **ControllerName
)

View File

@@ -648,7 +648,7 @@ EFIAPI
SdMmcPciHcComponentNameGetControllerName (
IN EFI_COMPONENT_NAME_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_HANDLE ChildHandle, OPTIONAL
IN EFI_HANDLE ChildHandle OPTIONAL,
IN CHAR8 *Language,
OUT CHAR16 **ControllerName
);