From: Jiaxin Wu Date: Thu, 20 Oct 2016 01:46:19 +0000 (+0800) Subject: NetworkPkg: Coding style refine for IpSecDxe X-Git-Tag: edk2-stable201903~5568 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=55d05ae145145dafdd77a7c6f5c0b3677096cbde NetworkPkg: Coding style refine for IpSecDxe Cc: Bi Dandan Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu Reviewed-by: Dandan Bi --- 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 ); /**