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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 515E481F5C for ; Sun, 26 Feb 2017 23:51:12 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Feb 2017 23:51:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,213,1484035200"; d="scan'208";a="828804411" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by FMSMGA003.fm.intel.com with ESMTP; 26 Feb 2017 23:51:11 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 26 Feb 2017 23:51:11 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 26 Feb 2017 23:51:11 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0248.002; Mon, 27 Feb 2017 15:51:09 +0800 From: "Yao, Jiewen" To: "Ni, Ruiyu" , "edk2-devel@lists.01.org" Thread-Topic: [PATCH v2 03/11] SignedCapsulePkg/IniParsing: Rename StrToGuid to avoid link failure Thread-Index: AQHSkMpPfTkY/xdmd0OEhsMbexV+eKF8etOw Date: Mon, 27 Feb 2017 07:51:08 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A8F5CE8@shsmsx102.ccr.corp.intel.com> References: <20170227072239.273228-1-ruiyu.ni@intel.com> <20170227072239.273228-4-ruiyu.ni@intel.com> In-Reply-To: <20170227072239.273228-4-ruiyu.ni@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v2 03/11] SignedCapsulePkg/IniParsing: Rename StrToGuid to avoid link failure 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: Mon, 27 Feb 2017 07:51:12 -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: Ni, Ruiyu > Sent: Monday, February 27, 2017 3:23 PM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen > Subject: [PATCH v2 03/11] SignedCapsulePkg/IniParsing: Rename StrToGuid t= o > avoid link failure >=20 > Since the next patch will add AsciiStrToGuid in BaseLib, renaming > the internal function AsciiStrToGuid to IniAsciiStrToGuid to avoid > link failure. >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Ruiyu Ni > Cc: Jiewen Yao > --- > SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c > b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c > index 270380e..16e1349 100644 > --- a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c > +++ b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c > @@ -25,7 +25,7 @@ > OpenIniFile(), PreProcessDataFile(), ProfileGetSection(), ProfileGetEn= try() > will receive untrusted input and do basic validation. >=20 > - Copyright (c) 2016, Intel Corporation. All rights reserved.
> + Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.
>=20 > This program and the accompanying materials > are licensed and made available under the terms and conditions > @@ -933,7 +933,7 @@ AsciiStrToBuf ( >=20 > **/ > EFI_STATUS > -AsciiStrToGuid ( > +IniAsciiStrToGuid ( > IN CHAR8 *Str, > OUT EFI_GUID *Guid > ) > @@ -1261,7 +1261,7 @@ GetGuidFromDataFile ( > if (!IsValidGuid(Value, AsciiStrLen(Value))) { > return EFI_NOT_FOUND; > } > - Status =3D AsciiStrToGuid(Value, Guid); > + Status =3D IniAsciiStrToGuid(Value, Guid); > if (EFI_ERROR (Status)) { > return EFI_NOT_FOUND; > } > -- > 2.9.0.windows.1