diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2021-12-02 18:00:49 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-07 17:24:28 +0000 |
commit | e3917e22e769898bb0d08d0112e768437f1ff9fb (patch) | |
tree | 3a9d1241d3caaa5846e1ec936c38411c0f660250 /MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsBlockIoPei.c | |
parent | 9c721071d30e69fd47f583cde370c3954cba974d (diff) | |
download | edk2-e3917e22e769898bb0d08d0112e768437f1ff9fb.tar.gz edk2-e3917e22e769898bb0d08d0112e768437f1ff9fb.tar.bz2 edk2-e3917e22e769898bb0d08d0112e768437f1ff9fb.zip |
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>
Diffstat (limited to 'MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsBlockIoPei.c')
-rw-r--r-- | MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsBlockIoPei.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsBlockIoPei.c b/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsBlockIoPei.c index 2538f22f42..4664187291 100644 --- a/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsBlockIoPei.c +++ b/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsBlockIoPei.c @@ -150,7 +150,7 @@ EFI_STATUS UfsPeimTestUnitReady (
IN UFS_PEIM_HC_PRIVATE_DATA *Private,
IN UINTN Lun,
- OUT VOID *SenseData, OPTIONAL
+ OUT VOID *SenseData OPTIONAL,
OUT UINT8 *SenseDataLength
)
{
@@ -202,7 +202,7 @@ UfsPeimReadCapacity ( IN UINTN Lun,
OUT VOID *DataBuffer,
OUT UINT32 *DataLength,
- OUT VOID *SenseData, OPTIONAL
+ OUT VOID *SenseData OPTIONAL,
OUT UINT8 *SenseDataLength
)
{
@@ -258,7 +258,7 @@ UfsPeimReadCapacity16 ( IN UINTN Lun,
OUT VOID *DataBuffer,
OUT UINT32 *DataLength,
- OUT VOID *SenseData, OPTIONAL
+ OUT VOID *SenseData OPTIONAL,
OUT UINT8 *SenseDataLength
)
{
@@ -320,7 +320,7 @@ UfsPeimRead10 ( IN UINT32 SectorNum,
OUT VOID *DataBuffer,
OUT UINT32 *DataLength,
- OUT VOID *SenseData, OPTIONAL
+ OUT VOID *SenseData OPTIONAL,
OUT UINT8 *SenseDataLength
)
{
@@ -382,7 +382,7 @@ UfsPeimRead16 ( IN UINT32 SectorNum,
OUT VOID *DataBuffer,
OUT UINT32 *DataLength,
- OUT VOID *SenseData, OPTIONAL
+ OUT VOID *SenseData OPTIONAL,
OUT UINT8 *SenseDataLength
)
{
|