From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 B0E6B2097DD34 for ; Sun, 24 Jun 2018 18:13:14 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jun 2018 18:13:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,268,1526367600"; d="scan'208";a="239921163" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 24 Jun 2018 18:13:10 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 24 Jun 2018 18:13:10 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 24 Jun 2018 18:13:09 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.223]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0319.002; Mon, 25 Jun 2018 09:13:08 +0800 From: "Zeng, Star" To: "Bi, Dandan" , "edk2-devel@lists.01.org" CC: "ard.biesheuvel@linaro.org" , "Zeng, Star" Thread-Topic: [patch] MdeModulePkg/CapsuleRuntimeDxe: Fix ECC issue Thread-Index: AQHUDCDtrtdq+hQ5wUyq3fn75Xrw8KRwKv3w Date: Mon, 25 Jun 2018 01:13:07 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103BB5BCAB@shsmsx102.ccr.corp.intel.com> References: <20180625010732.165440-1-dandan.bi@intel.com> In-Reply-To: <20180625010732.165440-1-dandan.bi@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] MdeModulePkg/CapsuleRuntimeDxe: Fix ECC issue X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2018 01:13:14 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Star Zeng -----Original Message----- From: Bi, Dandan=20 Sent: Monday, June 25, 2018 9:08 AM To: edk2-devel@lists.01.org Cc: Zeng, Star Subject: [patch] MdeModulePkg/CapsuleRuntimeDxe: Fix ECC issue Add guard macro for new added header file. Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c | 2 +- MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c b/= MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c index 32579ceefb5..d79d2fc6932 100644 --- a/MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c +++ b/MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c @@ -1,6 +1,6 @@ - /** @file +/** @file ARM implementation of architecture specific routines related to PersistAcrossReset capsules =20 Copyright (c) 2018, Linaro, Ltd. All rights reserved.
=20 diff --git a/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h b/Md= eModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h index 7a5df742f1e..787c70c1957 100644 --- a/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h +++ b/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h @@ -15,10 +15,13 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED. =20 **/ =20 +#ifndef _CAPSULE_SERVICE_H_ +#define _CAPSULE_SERVICE_H_ + #include =20 #include #include #include @@ -67,5 +70,7 @@ IsPersistAcrossResetCapsuleSupported ( **/ VOID Capsul= eCacheWriteBack ( IN EFI_PHYSICAL_ADDRESS ScatterGatherList ); + +#endif -- 2.14.3.windows.1