From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=jiewen.yao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A3DB6207E6370 for ; Mon, 28 May 2018 12:21:29 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 May 2018 12:21:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,453,1520924400"; d="scan'208";a="59257337" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 28 May 2018 12:21:29 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 28 May 2018 12:21:28 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 28 May 2018 12:21:06 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.223]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.51]) with mapi id 14.03.0319.002; Tue, 29 May 2018 03:21:04 +0800 From: "Yao, Jiewen" To: "Zhang, Chao B" , "edk2-devel@lists.01.org" CC: "Long, Qin" Thread-Topic: [edk2] [Patch] SecurityPkg/Tcg2Smm: Correct function parameter attribute Thread-Index: AQHT9o2q1F9AED7toEWGXrynFSBBGKRFhNwg Date: Mon, 28 May 2018 19:21:03 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503AC1280C@shsmsx102.ccr.corp.intel.com> References: <20180528141016.11860-1-chao.b.zhang@intel.com> In-Reply-To: <20180528141016.11860-1-chao.b.zhang@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzIwNWNmMGItOWU2NC00NDkyLWE5MWItMGE0YmYzZjI4MTczIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSWFUVFZsRStlK3hCaFY2eXp4OEthXC9yb0JIWUZrNzFoYTNXS1hQSnBtbUsrWG0xRGh3ZGdhVm84RjhMV3ZcL1VEIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] SecurityPkg/Tcg2Smm: Correct function parameter attribute X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2018 19:21:29 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen.yao@intel.com > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Zh= ang, > Chao B > Sent: Monday, May 28, 2018 7:10 AM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Long, Qin > Subject: [edk2] [Patch] SecurityPkg/Tcg2Smm: Correct function parameter > attribute >=20 > Correct UpdatePossibleResource parameter attribute to align to comment >=20 > Change-Id: Id8f8be975f0e8666573decc3fbaaf326b7767ba8 > Contributed-under: TianoCore Contribution Agreement 1.1 > Cc: Long Qin > Cc: Yao Jiewen > Reviewed-by: Chao Zhang > Signed-off-by: Zhang, Chao B > --- > SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c > b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c > index 3e0a68999a..f0c92462cf 100644 > --- a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c > +++ b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c > @@ -315,14 +315,14 @@ UpdatePPVersion ( > @return patch status. >=20 > **/ > EFI_STATUS > UpdatePossibleResource ( > - IN EFI_ACPI_DESCRIPTION_HEADER *Table, > - IN UINT32 *IrqBuffer, > - IN UINT32 IrqBuffserSize, > - OUT BOOLEAN *IsShortFormPkgLength > + IN OUT EFI_ACPI_DESCRIPTION_HEADER *Table, > + IN UINT32 *IrqBuffer, > + IN UINT32 IrqBuffserSize, > + OUT BOOLEAN *IsShortFormPkgLength > ) > { > UINT8 *DataPtr; > UINT8 *DataEndPtr; > UINT32 NewPkgLength; > -- > 2.16.2.windows.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel