From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BC98C1A1E6B for ; Wed, 19 Oct 2016 18:49:34 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 19 Oct 2016 18:49:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,516,1473145200"; d="scan'208";a="891868150" Received: from jiaxinwu-mobl2.ccr.corp.intel.com ([10.239.196.34]) by orsmga003.jf.intel.com with ESMTP; 19 Oct 2016 18:49:34 -0700 From: Jiaxin Wu To: edk2-devel@lists.01.org Cc: Bi Dandan , Fu Siyuan Date: Thu, 20 Oct 2016 09:49:31 +0800 Message-Id: <1476928171-19356-1-git-send-email-jiaxin.wu@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [Patch] NetworkPkg: Coding style refine for IpSecDxe X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2016 01:49:35 -0000 Cc: Bi Dandan Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu --- NetworkPkg/IpSecDxe/IkeCommon.c | 10 +++++----- NetworkPkg/IpSecDxe/IkeCommon.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/NetworkPkg/IpSecDxe/IkeCommon.c b/NetworkPkg/IpSecDxe/IkeCommon.c index b1e4321..c5fbfab 100644 --- a/NetworkPkg/IpSecDxe/IkeCommon.c +++ b/NetworkPkg/IpSecDxe/IkeCommon.c @@ -199,22 +199,22 @@ 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. **/ EFI_STATUS IkeGenerateSpi ( - IN IKEV2_SA_SESSION *IkeSaSession, - OUT UINT32 *SpiValue + IN IKEV2_SA_SESSION *IkeSaSession, + IN OUT UINT32 *SpiValue ) { EFI_STATUS Status; Status = EFI_SUCCESS; diff --git a/NetworkPkg/IpSecDxe/IkeCommon.h b/NetworkPkg/IpSecDxe/IkeCommon.h index 7f7fd4d..eb7e913 100644 --- a/NetworkPkg/IpSecDxe/IkeCommon.h +++ b/NetworkPkg/IpSecDxe/IkeCommon.h @@ -130,22 +130,22 @@ 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. **/ EFI_STATUS IkeGenerateSpi ( - IN IKEV2_SA_SESSION *IkeSaSession, - OUT UINT32 *SpiValue + IN IKEV2_SA_SESSION *IkeSaSession, + IN OUT UINT32 *SpiValue ); /** Generate a random data for IV -- 1.9.5.msysgit.1