From nobody Sat Feb 7 08:58:23 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+40251+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+40251+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1557376279; cv=none; d=zoho.com; s=zohoarc; b=V8g5IU1QECU9b5Vm0QLwjq7I/isWxSfvZn1TFvgC8upVANW1IdbzIKea/5T1jZMf5iHz+g+US2EEswRkmHgcSe8VixpRAPn1OaLu+WR15DxG4tYzki3uFp6V2yKTlm58qg/+VDI80NJjOSBhvaSB916E9ZH5oSu9h21Q6E77vZI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557376279; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=GKBNWc3e/EqYijq1e6SViAN4iGxmP4itEUIB4Zrd4zI=; b=OwgVvOE5NeWjr4BQ4kLFIIX5MwRqll81lSo5Fjx8UsQDWkspGSJjdpWpC2OSujJz3e76ojAiB7FTZsfAfFjXaSvifDqtsYX0z1c8meVa5jHX2my94uYMmPrgidybok4Y80KFybWcv8NOLXfcjSRVDuCbDPwiG5NgRvgsAv2iE9g= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+40251+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1557376279601725.4093166577221; Wed, 8 May 2019 21:31:19 -0700 (PDT) Return-Path: X-Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by groups.io with SMTP; Wed, 08 May 2019 21:31:17 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 May 2019 21:31:16 -0700 X-ExtLoop1: 1 X-Received: from unknown (HELO mdkinney-MOBL2.amr.corp.intel.com) ([10.241.98.74]) by orsmga004.jf.intel.com with ESMTP; 08 May 2019 21:31:16 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Michael D Kinney , Zailiang Sun , Yi Qian Subject: [edk2-devel] [Patch 05/16] Vlv2TbltDevicePkg/SmBiosMiscDxe: Fix GCC build issue Date: Wed, 8 May 2019 21:31:00 -0700 Message-Id: <20190509043111.15272-6-michael.d.kinney@intel.com> In-Reply-To: <20190509043111.15272-1-michael.d.kinney@intel.com> References: <20190509043111.15272-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,michael.d.kinney@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1557376278; bh=bKhfksC/eL1BjYG24QNg7DkmxMWgP7wG4S5aNDun20g=; h=Cc:Date:From:Reply-To:Subject:To; b=FVzy0j9BJrZc+WAy9Tp6dus7ZodQdk6EViik+ixHGCfNU8r6hpytmasbAOYdvPRD/c1 MVuKwdif5yPUeRqQlY+IJnsyG/5+I/Y0Z4cFAVk+wVAG05lAryi7clT8w0RT4h/VvfDEq CYXztbGgr1EYFOhfXEjXk4lTKzd2eqLoFaw= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Michael D Kinney Fix loop comparison for end of languages. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney Reviewed-by: Zailiang Sun --- .../MiscNumberOfInstallableLanguagesFunction.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscNumberOfInstallableLanguag= esFunction.c b/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscNumberOfInstallableLangu= agesFunction.c index 9fff8d8850..4a96a2c465 100644 --- a/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscNumberOfInstallableLanguagesFunct= ion.c +++ b/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscNumberOfInstallableLanguagesFunct= ion.c @@ -1,10 +1,12 @@ /*++ =20 -Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
- = =20 +Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.
+ + SPDX-License-Identifier: BSD-2-Clause-Patent =20 - = =20 + + =20 =20 Module Name: @@ -68,7 +70,7 @@ CurrentLanguageMatch ( // Find the best matching RFC 4646 language, compute the offset. // CompareLength =3D AsciiStrLen (BestLanguage); - for (MatchLang =3D Languages, (*Offset) =3D 0; MatchLang !=3D '\0'; (*= Offset)++) { + for (MatchLang =3D Languages, (*Offset) =3D 0; *MatchLang !=3D '\0'; (= *Offset)++) { // // Seek to the end of current match language. // --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#40251): https://edk2.groups.io/g/devel/message/40251 Mute This Topic: https://groups.io/mt/31551774/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-