From nobody Mon Feb 9 19:07:22 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+39595+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+39595+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556240686; cv=none; d=zoho.com; s=zohoarc; b=BacOAi0fH1v9de78eLrTDK2Vnc6GMDcduJXAOy09GYPPVCgGPBRed0YO7B7CSs0Jqm/zfHyvbNPsxs25L1W83ZUaBPUHj07kHolBGU9GZ5RcH516UWxc/LaFK+HYRhM5tN7IjVch8tlgP6gfH9MiZ5t44Yv5Ba9jpi26G80QpA0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556240686; 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=DGynEEZhBa/1w4ozBSC0QFfAMRY6ToRp493P2fwznsY=; b=MsjNizZ+rKmcbvgFtrJE/PHhxCzznt26+QW3gnkGPhH8hNgRNLZCvwsnTYC3VCrKRbHscDBOVLhcXgNAoq0tyeUbhRiYhKvimXU+8eT9awF4PXrV7NSHarrHrueeFAfFOEpAvAuBncv/h8KV2ZofUWuaeZdajipJiU1rPs8wBz4= 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+39595+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 1556240686819155.907286123194; Thu, 25 Apr 2019 18:04:46 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com []) by groups.io with SMTP; Thu, 25 Apr 2019 18:04:46 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2019 18:04:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="137547685" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2019 18:04:44 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi , Chasel Chiu , Nate DeSimone Subject: [edk2-devel] [PATCH V3 6/8] IntelFsp2WrapperPkg/FspWrapperNotifyDxe: make global variable static Date: Fri, 26 Apr 2019 09:04:02 +0800 Message-Id: <20190426010404.20624-7-zhichao.gao@intel.com> In-Reply-To: <20190426010404.20624-1-zhichao.gao@intel.com> References: <20190426010404.20624-1-zhichao.gao@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,zhichao.gao@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=1556240686; bh=8YaR+meRGsZqLHkBqs03a0cD3ityDsaCtvLT6+tDcTk=; h=Cc:Date:From:Reply-To:Subject:To; b=pzCaoHBvWEvf/Yoza02ve929sir30qzLgi5opwsnFXSJ2viOVgkqEVy85dCMPbsBiTf FGVaDLY75kwUFBsyS9eHDzClBSYjFkoR/zWdm7BZzFP1gMsJ/dtREdhmC3M3KNnf+ogQp eA69YeVSi6PIBG8OfaplVzK0nQ5rBZR/DfE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1740 Add a 'static' storage-class specifier to the global variables that only used in a single file to minimize the name collisions. This is only for the variable named 'mExitBootServicesEvent'. Cc: Laszlo Ersek Cc: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao Reviewed-by: Chasel Chiu Reviewed-by: Nate DeSimone --- IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c = b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c index fe344a5327..0af0ec778c 100644 --- a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c +++ b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c @@ -1,7 +1,7 @@ /** @file This driver will register two callbacks to call fsp's notifies. =20 - Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.
+ Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -39,7 +39,7 @@ extern EFI_GUID gAddPerfRecordProtocolGuid; extern EFI_GUID gFspHobGuid; extern EFI_GUID gFspApiPerformanceGuid; =20 -EFI_EVENT mExitBootServicesEvent =3D NULL; +static EFI_EVENT mExitBootServicesEvent =3D NULL; =20 /** Relocate this image under 4G memory. --=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 (#39595): https://edk2.groups.io/g/devel/message/39595 Mute This Topic: https://groups.io/mt/31348683/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-