From nobody Tue Feb 10 01:20:19 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+44171+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+44171+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1563836349; cv=none; d=zoho.com; s=zohoarc; b=IucsEXZlfqG67S+ZZNSgCmN1K7EZbVrjPD6aK5NJeObuw5JqInB+vD29Mm2UspQITO5hslrZ2aYsyVuw9BeJvtteVAumF4xi9DxDI62DfARjkX5HLS1rLk57Jly9zdmSkRDRRTaMlKMojqRvW0J9tA9p+elSxe6akyKG/NnDlzw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563836349; 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=VMT7dThF4b7jveKg+19Vg21Awcs7fmBM42vf0JC7Lqc=; b=ihyJTmxH3LSdU8NLWIlUQSn0zyG8e9DNIl35330rKzjzY48VvwDKwgIqqZKr3+5N2FpcbjE+1NkHYfG1GUBhDzNAHbX7CKV2tVgN6fz+Q7LS7jus7+mEXg3nMOMQbJwsaZwlM7YdVzgLQfQevff2yyYaI52sXd8HcF8cebfLVd0= 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+44171+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 1563836349063202.26981880904248; Mon, 22 Jul 2019 15:59:09 -0700 (PDT) Return-Path: X-Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by groups.io with SMTP; Mon, 22 Jul 2019 15:59:07 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jul 2019 15:59:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,296,1559545200"; d="scan'208";a="169386499" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.254.83.213]) by fmsmga008.fm.intel.com with ESMTP; 22 Jul 2019 15:59:06 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Zailiang Sun , Yi Qian , Gary Lin Subject: [edk2-devel] [edk2-platforms Patch V3 08/12] Vlv2TbltDevicePkg/PlatformDxe: Add missing #if Date: Mon, 22 Jul 2019 15:58:55 -0700 Message-Id: <20190722225859.24724-9-michael.d.kinney@intel.com> In-Reply-To: <20190722225859.24724-1-michael.d.kinney@intel.com> References: <20190722225859.24724-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=1563836348; bh=ltGVN8TITauCDX+jIYCosiia+o3etQ8nWxSHFswPvi0=; h=Cc:Date:From:Reply-To:Subject:To; b=ct+GB5ZDNc04xANtEvuB+i7sr64p3chzlxx/6ZCOhcuC8H2Zx7Yq7RfF39U/pqynMef LPj5fR9+pl/ICfq/gQovADYTm+TplrEPWJ7SGdwSTQXujC0K4bMdFPKca+hu9wrDTQ53E xBK7qP8pLFhVXQILHsM+LlRWzbwegf9D7vM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Add missing #if for SENSOR_INFO_VAR_SUPPORT around the function InitializeSensorInfoVariable(). This function is referencing 2 global variables that are not defined, and this breaks VS2017 for undefined global variables. Cc: Zailiang Sun Cc: Yi Qian Cc: Gary Lin Signed-off-by: Michael D Kinney --- Platform/Intel/Vlv2TbltDevicePkg/PlatformDxe/SensorVar.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformDxe/SensorVar.c b/Pla= tform/Intel/Vlv2TbltDevicePkg/PlatformDxe/SensorVar.c index 5d13e99443..6efb989bc0 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/PlatformDxe/SensorVar.c +++ b/Platform/Intel/Vlv2TbltDevicePkg/PlatformDxe/SensorVar.c @@ -85,6 +85,7 @@ SENSOR_INFO_VAR mSensorInfoData =3D } }; =20 +#if defined(SENSOR_INFO_VAR_SUPPORT) && SENSOR_INFO_VAR_SUPPORT !=3D 0 /** =20 Write the Sensor Info variable if it does not already exist. @@ -109,4 +110,5 @@ InitializeSensorInfoVariable ( &mSensorInfoData ); } +#endif =20 --=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 (#44171): https://edk2.groups.io/g/devel/message/44171 Mute This Topic: https://groups.io/mt/32564738/1787277 Mute #if: https://groups.io/mk?hashtag=3Dif&subid=3D3901457 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-