mirror of https://github.com/acidanthera/audk.git
FmpDevicePkg: 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:
parent
c69fc80c80
commit
9c721071d3
|
@ -36,7 +36,7 @@ EFIAPI
|
|||
CheckFmpDependency (
|
||||
IN EFI_GUID ImageTypeId,
|
||||
IN UINT32 Version,
|
||||
IN EFI_FIRMWARE_IMAGE_DEP *Dependencies, OPTIONAL
|
||||
IN EFI_FIRMWARE_IMAGE_DEP *Dependencies OPTIONAL,
|
||||
IN UINT32 DependenciesSize,
|
||||
OUT UINT32 *LastAttemptStatus OPTIONAL
|
||||
);
|
||||
|
|
|
@ -96,7 +96,7 @@ EFIAPI
|
|||
EvaluateDependency (
|
||||
IN EFI_FIRMWARE_IMAGE_DEP *Dependencies,
|
||||
IN UINTN DependenciesSize,
|
||||
IN FMP_DEPEX_CHECK_VERSION_DATA *FmpVersions, OPTIONAL
|
||||
IN FMP_DEPEX_CHECK_VERSION_DATA *FmpVersions OPTIONAL,
|
||||
IN UINTN FmpVersionsCount,
|
||||
OUT UINT32 *LastAttemptStatus OPTIONAL
|
||||
);
|
||||
|
|
|
@ -504,8 +504,8 @@ EFIAPI
|
|||
FmpDeviceSetImage (
|
||||
IN CONST VOID *Image,
|
||||
IN UINTN ImageSize,
|
||||
IN CONST VOID *VendorCode, OPTIONAL
|
||||
IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress, OPTIONAL
|
||||
IN CONST VOID *VendorCode OPTIONAL,
|
||||
IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress OPTIONAL,
|
||||
IN UINT32 CapsuleFwVersion,
|
||||
OUT CHAR16 **AbortReason
|
||||
);
|
||||
|
@ -578,8 +578,8 @@ EFIAPI
|
|||
FmpDeviceSetImageWithStatus (
|
||||
IN CONST VOID *Image,
|
||||
IN UINTN ImageSize,
|
||||
IN CONST VOID *VendorCode, OPTIONAL
|
||||
IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress, OPTIONAL
|
||||
IN CONST VOID *VendorCode OPTIONAL,
|
||||
IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress OPTIONAL,
|
||||
IN UINT32 CapsuleFwVersion,
|
||||
OUT CHAR16 **AbortReason,
|
||||
OUT UINT32 *LastAttemptStatus
|
||||
|
|
|
@ -42,7 +42,7 @@ EFIAPI
|
|||
CheckFmpDependency (
|
||||
IN EFI_GUID ImageTypeId,
|
||||
IN UINT32 Version,
|
||||
IN EFI_FIRMWARE_IMAGE_DEP *Dependencies, OPTIONAL
|
||||
IN EFI_FIRMWARE_IMAGE_DEP *Dependencies OPTIONAL,
|
||||
IN UINT32 DependenciesSize,
|
||||
OUT UINT32 *LastAttemptStatus OPTIONAL
|
||||
)
|
||||
|
|
|
@ -31,7 +31,7 @@ EFIAPI
|
|||
CheckFmpDependency (
|
||||
IN EFI_GUID ImageTypeId,
|
||||
IN UINT32 Version,
|
||||
IN EFI_FIRMWARE_IMAGE_DEP *Dependencies, OPTIONAL
|
||||
IN EFI_FIRMWARE_IMAGE_DEP *Dependencies OPTIONAL,
|
||||
IN UINT32 DependenciesSize,
|
||||
OUT UINT32 *LastAttemptStatus OPTIONAL
|
||||
)
|
||||
|
|
|
@ -220,7 +220,7 @@ EFIAPI
|
|||
EvaluateDependency (
|
||||
IN EFI_FIRMWARE_IMAGE_DEP *Dependencies,
|
||||
IN UINTN DependenciesSize,
|
||||
IN FMP_DEPEX_CHECK_VERSION_DATA *FmpVersions, OPTIONAL
|
||||
IN FMP_DEPEX_CHECK_VERSION_DATA *FmpVersions OPTIONAL,
|
||||
IN UINTN FmpVersionsCount,
|
||||
OUT UINT32 *LastAttemptStatus OPTIONAL
|
||||
)
|
||||
|
@ -610,4 +610,3 @@ GetImageDependency (
|
|||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -519,8 +519,8 @@ EFIAPI
|
|||
FmpDeviceSetImage (
|
||||
IN CONST VOID *Image,
|
||||
IN UINTN ImageSize,
|
||||
IN CONST VOID *VendorCode, OPTIONAL
|
||||
IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress, OPTIONAL
|
||||
IN CONST VOID *VendorCode OPTIONAL,
|
||||
IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress OPTIONAL,
|
||||
IN UINT32 CapsuleFwVersion,
|
||||
OUT CHAR16 **AbortReason
|
||||
)
|
||||
|
@ -606,8 +606,8 @@ EFIAPI
|
|||
FmpDeviceSetImageWithStatus (
|
||||
IN CONST VOID *Image,
|
||||
IN UINTN ImageSize,
|
||||
IN CONST VOID *VendorCode, OPTIONAL
|
||||
IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress, OPTIONAL
|
||||
IN CONST VOID *VendorCode OPTIONAL,
|
||||
IN EFI_FIRMWARE_MANAGEMENT_UPDATE_IMAGE_PROGRESS Progress OPTIONAL,
|
||||
IN UINT32 CapsuleFwVersion,
|
||||
OUT CHAR16 **AbortReason,
|
||||
OUT UINT32 *LastAttemptStatus
|
||||
|
|
Loading…
Reference in New Issue