From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.136; helo=mga12.intel.com; envelope-from=michael.d.kinney@intel.com; receiver=edk2-devel@lists.01.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (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 3E6702215BD94 for ; Wed, 31 Jan 2018 11:23:39 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jan 2018 11:29:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,441,1511856000"; d="scan'208";a="27817999" Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by orsmga001.jf.intel.com with ESMTP; 31 Jan 2018 11:29:15 -0800 Received: from orsmsx114.amr.corp.intel.com (10.22.240.10) by ORSMSX101.amr.corp.intel.com (10.22.225.128) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 31 Jan 2018 11:29:15 -0800 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.97]) by ORSMSX114.amr.corp.intel.com ([169.254.8.245]) with mapi id 14.03.0319.002; Wed, 31 Jan 2018 11:29:15 -0800 From: "Kinney, Michael D" To: "Gao, Liming" , "edk2-devel@lists.01.org" , "Kinney, Michael D" Thread-Topic: [edk2] [Patch] MdePkg SafeIntLib: Update API definition to use the same output name Thread-Index: AQHTmo7dU1EOQqfmQEe/RHdzm7WTnaOOXigQ Date: Wed, 31 Jan 2018 19:29:14 +0000 Message-ID: References: <1517401630-7904-1-git-send-email-liming.gao@intel.com> In-Reply-To: <1517401630-7904-1-git-send-email-liming.gao@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.139] MIME-Version: 1.0 Subject: Re: [Patch] MdePkg SafeIntLib: Update API definition to use the same output name X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2018 19:23:40 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Michael D Kinney > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] > On Behalf Of Liming Gao > Sent: Wednesday, January 31, 2018 4:27 AM > To: edk2-devel@lists.01.org > Subject: [edk2] [Patch] MdePkg SafeIntLib: Update API > definition to use the same output name >=20 > In SafeUintnToChar8(), update its output parameter name. > Update pui8Result --> Result to match its library > implementation >=20 > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Liming Gao > --- > MdePkg/Include/Library/SafeIntLib.h | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) >=20 > diff --git a/MdePkg/Include/Library/SafeIntLib.h > b/MdePkg/Include/Library/SafeIntLib.h > index 5839301..8c5003f 100644 > --- a/MdePkg/Include/Library/SafeIntLib.h > +++ b/MdePkg/Include/Library/SafeIntLib.h > @@ -375,7 +375,7 @@ RETURN_STATUS > EFIAPI > SafeInt16ToUint8 ( > IN INT16 Operand, > - OUT UINT8 *pui8Result > + OUT UINT8 *Result > ); >=20 > /** > @@ -564,7 +564,7 @@ RETURN_STATUS > EFIAPI > SafeUint16ToUint8 ( > IN UINT16 Operand, > - OUT UINT8 *pui8Result > + OUT UINT8 *Result > ); >=20 > /** > @@ -672,7 +672,7 @@ RETURN_STATUS > EFIAPI > SafeInt32ToUint8 ( > IN INT32 Operand, > - OUT UINT8 *pui8Result > + OUT UINT8 *Result > ); >=20 > /** > @@ -889,7 +889,7 @@ RETURN_STATUS > EFIAPI > SafeUint32ToUint8 ( > IN UINT32 Operand, > - OUT UINT8 *pui8Result > + OUT UINT8 *Result > ); >=20 > /** > @@ -1078,7 +1078,7 @@ RETURN_STATUS > EFIAPI > SafeIntnToUint8 ( > IN INTN Operand, > - OUT UINT8 *pui8Result > + OUT UINT8 *Result > ); >=20 > /** > @@ -1321,7 +1321,7 @@ RETURN_STATUS > EFIAPI > SafeUintnToUint8 ( > IN UINTN Operand, > - OUT UINT8 *pui8Result > + OUT UINT8 *Result > ); >=20 > /** > -- > 2.8.0.windows.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel