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.120; helo=mga04.intel.com; envelope-from=jaben.carsey@intel.com; receiver=edk2-devel@lists.01.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 71C9B211B5A45 for ; Wed, 9 Jan 2019 10:29:34 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2019 10:29:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,458,1539673200"; d="scan'208";a="124730642" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 09 Jan 2019 10:29:33 -0800 Received: from fmsmsx103.amr.corp.intel.com ([169.254.2.197]) by fmsmsx107.amr.corp.intel.com ([169.254.6.186]) with mapi id 14.03.0415.000; Wed, 9 Jan 2019 10:29:32 -0800 From: "Carsey, Jaben" To: "Zeng, Star" , "edk2-devel@lists.01.org" Thread-Topic: [Patch v1 1/1] MdeModulePkg: fix comments in BaseSortLib Thread-Index: AQHUp7ky7q/wJZweLUyNwhisp6Otk6WnQrHQ Date: Wed, 9 Jan 2019 18:29:31 +0000 Message-ID: References: <59678190473f66f8a44d5be7ff416275c365342c.1546984652.git.jaben.carsey@intel.com> <0C09AFA07DD0434D9E2A0C6AEB048310402434C5@shsmsx102.ccr.corp.intel.com> In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB048310402434C5@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzU2N2JiYzUtNjNmYi00YzQ5LTgzODMtNmY1YTVmOWU0YmM2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoialwva2EyR2loeGU2VW1oWm41Z09veWZ1bkhXbXBKSWJOU0JJdG5DWGF2dkM5aW5KeG85VG9iWklDa1E4ZUVITkYifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.1.200.107] MIME-Version: 1.0 Subject: Re: [Patch v1 1/1] MdeModulePkg: fix comments in BaseSortLib X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2019 18:29:34 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I did the work last year so I didn't do anything but the email this year... > -----Original Message----- > From: Zeng, Star > Sent: Tuesday, January 08, 2019 5:18 PM > To: Carsey, Jaben ; edk2-devel@lists.01.org > Cc: Wang, Jian J ; Zeng, Star > Subject: RE: [Patch v1 1/1] MdeModulePkg: fix comments in BaseSortLib > Importance: High >=20 > How about updating "2018" to "2019"? :) >=20 >=20 > With that, Reviewed-by: Star Zeng . >=20 > Thanks, > Star > -----Original Message----- > From: Carsey, Jaben > Sent: Wednesday, January 9, 2019 5:58 AM > To: edk2-devel@lists.01.org > Cc: Zeng, Star ; Wang, Jian J > Subject: [Patch v1 1/1] MdeModulePkg: fix comments in BaseSortLib >=20 > The comments are incorrect for the base version of this lib. >=20 > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Jaben Carsey > Cc: Star Zeng > Cc: Jian J Wang > --- > MdeModulePkg/Library/BaseSortLib/BaseSortLib.c | 22 ++++++++------------ > 1 file changed, 9 insertions(+), 13 deletions(-) >=20 > diff --git a/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c > b/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c > index ab8a60585ee2..8f30c00971eb 100644 > --- a/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c > +++ b/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c > @@ -1,7 +1,7 @@ > /** @file > Library used for sorting routines. >=20 > - Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved. > + Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved. > +
> This program and the accompanying materials > are licensed and made available under the terms and conditions of the = BSD > License > which accompanies this distribution. The full text of the license may= be > found at @@ -193,14 +193,12 @@ DevicePathCompare ( } >=20 > /** > - Function to compare 2 strings without regard to case of the characters= . > + Not supported in Base version. >=20 > - @param[in] Buffer1 Pointer to String to compare. > - @param[in] Buffer2 Pointer to second String to compare. > + @param[in] Buffer1 Ignored. > + @param[in] Buffer2 Ignored. >=20 > - @retval 0 Buffer1 equal to Buffer2. > - @return < 0 Buffer1 is less than Buffer2. > - @return > 0 Buffer1 is greater than Buffer2. > + ASSERT and return 0. > **/ > INTN > EFIAPI > @@ -215,14 +213,12 @@ StringNoCaseCompare ( >=20 >=20 > /** > - Function to compare 2 strings. > + Not supported in Base version. >=20 > - @param[in] Buffer1 Pointer to String to compare (CHAR16**). > - @param[in] Buffer2 Pointer to second String to compare (CHA= R16**). > + @param[in] Buffer1 Ignored. > + @param[in] Buffer2 Ignored. >=20 > - @retval 0 Buffer1 equal to Buffer2. > - @return < 0 Buffer1 is less than Buffer2. > - @return > 0 Buffer1 is greater than Buffer2. > + ASSERT and return 0. > **/ > INTN > EFIAPI > -- > 2.16.2.windows.1