summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/TlsDxe/TlsProtocol.c
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2021-12-02 18:00:52 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-07 17:24:28 +0000
commit8874fa199dd7be550f20e3fc78861022eb826728 (patch)
tree7bc82e88d9d55781093dd4306e159cd499e84d88 /NetworkPkg/TlsDxe/TlsProtocol.c
parentd0e2f8232a26453fc0191629ed44ff2a46ea073e (diff)
downloadedk2-8874fa199dd7be550f20e3fc78861022eb826728.tar.gz
edk2-8874fa199dd7be550f20e3fc78861022eb826728.tar.bz2
edk2-8874fa199dd7be550f20e3fc78861022eb826728.zip
NetworkPkg: 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: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Diffstat (limited to 'NetworkPkg/TlsDxe/TlsProtocol.c')
-rw-r--r--NetworkPkg/TlsDxe/TlsProtocol.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/NetworkPkg/TlsDxe/TlsProtocol.c b/NetworkPkg/TlsDxe/TlsProtocol.c
index 001e5400d0..b814de5b35 100644
--- a/NetworkPkg/TlsDxe/TlsProtocol.c
+++ b/NetworkPkg/TlsDxe/TlsProtocol.c
@@ -259,7 +259,7 @@ EFIAPI
TlsGetSessionData (
IN EFI_TLS_PROTOCOL *This,
IN EFI_TLS_SESSION_DATA_TYPE DataType,
- IN OUT VOID *Data, OPTIONAL
+ IN OUT VOID *Data OPTIONAL,
IN OUT UINTN *DataSize
)
{
@@ -444,9 +444,9 @@ EFI_STATUS
EFIAPI
TlsBuildResponsePacket (
IN EFI_TLS_PROTOCOL *This,
- IN UINT8 *RequestBuffer, OPTIONAL
- IN UINTN RequestSize, OPTIONAL
- OUT UINT8 *Buffer, OPTIONAL
+ IN UINT8 *RequestBuffer OPTIONAL,
+ IN UINTN RequestSize OPTIONAL,
+ OUT UINT8 *Buffer OPTIONAL,
IN OUT UINTN *BufferSize
)
{
@@ -673,4 +673,3 @@ ON_EXIT:
gBS->RestoreTPL (OldTpl);
return Status;
}
-