From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=104.47.41.98; helo=nam03-dm3-obe.outbound.protection.outlook.com; envelope-from=bret.barkelew@microsoft.com; receiver=edk2-devel@lists.01.org Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0098.outbound.protection.outlook.com [104.47.41.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3E303209574CC for ; Tue, 27 Feb 2018 10:54:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=niDaf39H7ln7/iVpCyYkxPjXk+Q8Ivd7WBgn1DCa5rA=; b=MROk9I/ioz6RCjEEjF3+iBA1qhYsp27Du/f9x8xchJYeux5jdRZoZMsJm5g5vtSFcedZkPetTILRMExISa4XKvtW5qcF/aZQiE4EfsDvXL5YYDIfboptlMUKZ/sRE0NkxcCIF21ZNV9PI688NyZVgY33Mwg8nmE2VWB6xAZwOIA= Received: from MWHPR21MB0784.namprd21.prod.outlook.com (10.173.51.150) by MWHPR21MB0829.namprd21.prod.outlook.com (10.173.51.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.2; Tue, 27 Feb 2018 19:00:28 +0000 Received: from MWHPR21MB0784.namprd21.prod.outlook.com ([fe80::7ca9:b5d0:a59:6379]) by MWHPR21MB0784.namprd21.prod.outlook.com ([fe80::7ca9:b5d0:a59:6379%3]) with mapi id 15.20.0567.002; Tue, 27 Feb 2018 19:00:28 +0000 From: Bret Barkelew To: "Kinney, Michael D" , "Gao, Liming" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [Patch] MdePkg SafeIntLib: Update API definition to use the same output name Thread-Index: AQHTmo7XSHaWgqQtnEWWulayJBLqM6OOXnAAgCpm3no= Date: Tue, 27 Feb 2018 19:00:28 +0000 Message-ID: References: <1517401630-7904-1-git-send-email-liming.gao@intel.com>, In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [131.107.32.41] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; MWHPR21MB0829; 7:GVSANvlTGJcaeBsUdPf74T7r5u09U423jFmc9eULykjAGBF2HhcDjXD8gMTyHyi7AJsi/0cz6pM44ADwbFNY3posEHOApp1x/cL9AgHkGTbUpcuTILwhhuXYCtH8Scl4pBYKj0i4boT/E+cr4lNr6Pt/S+qcXvJJ6g0wmJydEhUBjffnZ5Bsynv+LTCIWGJvnTR6R+cSdpdHIJ7N/H4vEiZvln50Qt1DyNat/HAyQl/c+86qhJ8p5bQf9fh+53h0 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d04ab9dd-bbab-4c4d-fd90-08d57e145e4b x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020); SRVR:MWHPR21MB0829; x-ms-traffictypediagnostic: MWHPR21MB0829: x-o365ent-eop-header: Message processed by - O365_ENT: Allow from ranges (Engineering ONLY) x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(189930954265078)(162533806227266)(219752817060721)(21748063052155)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231220)(944501198)(52105095)(93006095)(93001095)(6055026)(61426038)(61427038)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(6072148)(201708071742011); SRVR:MWHPR21MB0829; BCL:0; PCL:0; RULEID:; SRVR:MWHPR21MB0829; x-forefront-prvs: 05961EBAFC x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(39380400002)(346002)(376002)(39860400002)(199004)(189003)(13464003)(186003)(966005)(25786009)(97736004)(81156014)(5660300001)(81166006)(2420400007)(2906002)(7110500001)(6346003)(8990500004)(6506007)(105586002)(3660700001)(14454004)(68736007)(72206003)(33656002)(3846002)(53546011)(10290500003)(26005)(6116002)(76176011)(102836004)(2900100001)(3280700002)(2501003)(86362001)(7736002)(575784001)(74316002)(8676002)(8936002)(15650500001)(7696005)(10710500007)(478600001)(10090500001)(110136005)(316002)(6436002)(54896002)(86612001)(59450400001)(6306002)(9686003)(53936002)(6246003)(5250100002)(22452003)(99286004)(229853002)(106356001)(2950100002)(66066001)(606006)(236005)(55016002); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR21MB0829; H:MWHPR21MB0784.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bret.Barkelew@microsoft.com; x-microsoft-antispam-message-info: moZe6elyKZc/2B1AwT93kqZUta5tOhJ1DDSG+Fj3xjhH/3uE4tQiKMI220PDEpdJ6nJgQ4XS3cdzFGGSw3amFsg3Fqk9AsPUxZx5gdXQT7l2hFXPxWwpwCIUkSgsuMyN8FnT0UYtRT8U6yO3QhMogykWiiQahhrkn4v0QCRPljw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: d04ab9dd-bbab-4c4d-fd90-08d57e145e4b X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2018 19:00:28.8136 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR21MB0829 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Tue, 27 Feb 2018 18:54:24 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-By: Bret Barkelew Bret.Barkelew@microsoft.com - Bret From: Kinney, Michael D Sent: Wednesday, January 31, 2018 11:29 AM To: Gao, Liming; edk2-devel@lists.01.org; Kinney, Michael D Subject: Re: [edk2] [Patch] MdePkg SafeIntLib: Update API definition to use= the same output name 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 > > In SafeUintnToChar8(), update its output parameter name. > Update pui8Result --> Result to match its library > implementation > > 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(-) > > 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 > ); > > /** > @@ -564,7 +564,7 @@ RETURN_STATUS > EFIAPI > SafeUint16ToUint8 ( > IN UINT16 Operand, > - OUT UINT8 *pui8Result > + OUT UINT8 *Result > ); > > /** > @@ -672,7 +672,7 @@ RETURN_STATUS > EFIAPI > SafeInt32ToUint8 ( > IN INT32 Operand, > - OUT UINT8 *pui8Result > + OUT UINT8 *Result > ); > > /** > @@ -889,7 +889,7 @@ RETURN_STATUS > EFIAPI > SafeUint32ToUint8 ( > IN UINT32 Operand, > - OUT UINT8 *pui8Result > + OUT UINT8 *Result > ); > > /** > @@ -1078,7 +1078,7 @@ RETURN_STATUS > EFIAPI > SafeIntnToUint8 ( > IN INTN Operand, > - OUT UINT8 *pui8Result > + OUT UINT8 *Result > ); > > /** > @@ -1321,7 +1321,7 @@ RETURN_STATUS > EFIAPI > SafeUintnToUint8 ( > IN UINTN Operand, > - OUT UINT8 *pui8Result > + OUT UINT8 *Result > ); > > /** > -- > 2.8.0.windows.1 > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.= 01.org%2Fmailman%2Flistinfo%2Fedk2-devel&data=3D02%7C01%7CBret.Barkelew%40m= icrosoft.com%7C5b2fcf3c266945233cd708d568e0ed61%7Cee3303d7fb734b0c8589bcd84= 7f1c277%7C1%7C0%7C636530237637093084&sdata=3DtJVkaZk%2BKBaoBhkfYmPwL9YgId2F= niXqd8l7v0ApjUs%3D&reserved=3D0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.01= .org%2Fmailman%2Flistinfo%2Fedk2-devel&data=3D02%7C01%7CBret.Barkelew%40mic= rosoft.com%7C5b2fcf3c266945233cd708d568e0ed61%7Cee3303d7fb734b0c8589bcd847f= 1c277%7C1%7C0%7C636530237637093084&sdata=3DtJVkaZk%2BKBaoBhkfYmPwL9YgId2Fni= Xqd8l7v0ApjUs%3D&reserved=3D0