summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2016-10-20 09:46:19 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2016-10-21 09:03:32 +0800
commit55d05ae145145dafdd77a7c6f5c0b3677096cbde (patch)
tree53c8c9298615fe8f163bad9014c316d6b87017a2
parentc3926cdbbd9c4c884b8f87089e877187ccc63eb2 (diff)
downloadedk2-55d05ae145145dafdd77a7c6f5c0b3677096cbde.tar.gz
edk2-55d05ae145145dafdd77a7c6f5c0b3677096cbde.tar.bz2
edk2-55d05ae145145dafdd77a7c6f5c0b3677096cbde.zip
NetworkPkg: Coding style refine for IpSecDxe
Cc: Bi Dandan <dandan.bi@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
-rw-r--r--NetworkPkg/IpSecDxe/IkeCommon.c10
-rw-r--r--NetworkPkg/IpSecDxe/IkeCommon.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/NetworkPkg/IpSecDxe/IkeCommon.c b/NetworkPkg/IpSecDxe/IkeCommon.c
index b1e4321142..c5fbfab6a9 100644
--- a/NetworkPkg/IpSecDxe/IkeCommon.c
+++ b/NetworkPkg/IpSecDxe/IkeCommon.c
@@ -201,9 +201,9 @@ IkePayloadFree (
/**
Generate an new SPI.
- @param[in] IkeSaSession Pointer to IKEV2_SA_SESSION related to this Child SA
- Session.
- @param[in out] SpiValue Pointer to the new generated SPI value.
+ @param[in] IkeSaSession Pointer to IKEV2_SA_SESSION related to this Child SA
+ Session.
+ @param[in, out] SpiValue Pointer to the new generated SPI value.
@retval EFI_SUCCESS The operation performs successfully.
@retval Otherwise The operation is failed.
@@ -211,8 +211,8 @@ IkePayloadFree (
**/
EFI_STATUS
IkeGenerateSpi (
- IN IKEV2_SA_SESSION *IkeSaSession,
- OUT UINT32 *SpiValue
+ IN IKEV2_SA_SESSION *IkeSaSession,
+ IN OUT UINT32 *SpiValue
)
{
EFI_STATUS Status;
diff --git a/NetworkPkg/IpSecDxe/IkeCommon.h b/NetworkPkg/IpSecDxe/IkeCommon.h
index 7f7fd4d5b0..eb7e913ee8 100644
--- a/NetworkPkg/IpSecDxe/IkeCommon.h
+++ b/NetworkPkg/IpSecDxe/IkeCommon.h
@@ -132,9 +132,9 @@ IkePayloadFree (
/**
Generate an new SPI.
- @param[in] IkeSaSession Pointer to IKEV2_SA_SESSION related to this Child SA
- Session.
- @param[in out] SpiValue Pointer to the new generated SPI value.
+ @param[in] IkeSaSession Pointer to IKEV2_SA_SESSION related to this Child SA
+ Session.
+ @param[in, out] SpiValue Pointer to the new generated SPI value.
@retval EFI_SUCCESS The operation performs successfully.
@retval Otherwise The operation is failed.
@@ -142,8 +142,8 @@ IkePayloadFree (
**/
EFI_STATUS
IkeGenerateSpi (
- IN IKEV2_SA_SESSION *IkeSaSession,
- OUT UINT32 *SpiValue
+ IN IKEV2_SA_SESSION *IkeSaSession,
+ IN OUT UINT32 *SpiValue
);
/**