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.115; helo=mga14.intel.com; envelope-from=dandan.bi@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 4711B211B63F7 for ; Thu, 31 Jan 2019 22:02:14 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jan 2019 22:02:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,547,1539673200"; d="scan'208";a="140672302" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by fmsmga004.fm.intel.com with ESMTP; 31 Jan 2019 22:02:12 -0800 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Ard Biesheuvel , Jian J Wang , Hao Wu Date: Fri, 1 Feb 2019 14:01:59 +0800 Message-Id: <20190201060200.40136-2-dandan.bi@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 In-Reply-To: <20190201060200.40136-1-dandan.bi@intel.com> References: <20190201060200.40136-1-dandan.bi@intel.com> Subject: [patch 1/2] MdeModulePkg: Fix coding style issues 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: Fri, 01 Feb 2019 06:02:14 -0000 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1479 Fix issues that reported by Edk2 coding style check tool(ECC) that: Comment description should end with period '.' Cc: Ard Biesheuvel Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../FaultTolerantWriteDxe/FaultTolerantWriteSmmCommon.h | 4 ++-- .../FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.c | 2 +- .../FaultTolerantWriteDxe/FaultTolerantWriteTraditionalMm.c | 2 +- .../Universal/Variable/RuntimeDxe/PrivilegePolymorphic.h | 4 ++-- .../Universal/Variable/RuntimeDxe/VariableStandaloneMm.c | 6 +++--- .../Universal/Variable/RuntimeDxe/VariableTraditionalMm.c | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmCommon.h b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmCommon.h index 61293ca864..cf1aef7ca4 100644 --- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmCommon.h +++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmmCommon.h @@ -76,11 +76,11 @@ typedef struct { BOOLEAN Complete; UINT8 Data[1]; } SMM_FTW_GET_LAST_WRITE_HEADER; /** - Shared entry point of the module + Shared entry point of the module. @retval EFI_SUCCESS The initialization finished successfully. @retval EFI_OUT_OF_RESOURCES Allocate memory error @retval EFI_INVALID_PARAMETER Workspace or Spare block does not exist @@ -107,11 +107,11 @@ FtwSmmIsBufferOutsideSmmValid ( IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length ); /** - Notify the system that the SMM FTW driver is ready + Notify the system that the SMM FTW driver is ready. **/ VOID FtwNotifySmmReady ( VOID ); diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.c b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.c index 8a4ea5b476..c2aa501465 100644 --- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.c +++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.c @@ -63,11 +63,11 @@ FtwCalculateCrc32 ( { return CalculateCrc32 (Buffer, Length); } /** - Notify the system that the SMM FTW driver is ready + Notify the system that the SMM FTW driver is ready. **/ VOID FtwNotifySmmReady ( VOID ) diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteTraditionalMm.c b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteTraditionalMm.c index 0981c3c2a9..7c76e1f756 100644 --- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteTraditionalMm.c +++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteTraditionalMm.c @@ -70,11 +70,11 @@ FtwCalculateCrc32 ( return ReturnValue; } /** - Notify the system that the SMM FTW driver is ready + Notify the system that the SMM FTW driver is ready. **/ VOID FtwNotifySmmReady ( VOID ) diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/PrivilegePolymorphic.h b/MdeModulePkg/Universal/Variable/RuntimeDxe/PrivilegePolymorphic.h index 0a886558f4..9b294e6b36 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/PrivilegePolymorphic.h +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/PrivilegePolymorphic.h @@ -96,19 +96,19 @@ VOID VariableSpeculationBarrier ( VOID ); /** - Notify the system that the SMM variable driver is ready + Notify the system that the SMM variable driver is ready. **/ VOID VariableNotifySmmReady ( VOID ); /** - Notify the system that the SMM variable write driver is ready + Notify the system that the SMM variable write driver is ready. **/ VOID VariableNotifySmmWriteReady ( VOID ); diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.c index 1e87ccfb5d..2eed038054 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.c @@ -36,31 +36,31 @@ VariableSmmIsBufferOutsideSmmValid ( { return TRUE; } /** - Notify the system that the SMM variable driver is ready + Notify the system that the SMM variable driver is ready. **/ VOID VariableNotifySmmReady ( VOID ) { } /** - Notify the system that the SMM variable write driver is ready + Notify the system that the SMM variable write driver is ready. **/ VOID VariableNotifySmmWriteReady ( VOID ) { } /** - Variable service MM driver entry point + Variable service MM driver entry point. @param[in] ImageHandle A handle for the image that is initializing this driver @param[in] MmSystemTable A pointer to the MM system table diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableTraditionalMm.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableTraditionalMm.c index 84f2d12b58..42e2c63c3a 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableTraditionalMm.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableTraditionalMm.c @@ -38,11 +38,11 @@ VariableSmmIsBufferOutsideSmmValid ( { return SmmIsBufferOutsideSmmValid (Buffer, Length); } /** - Notify the system that the SMM variable driver is ready + Notify the system that the SMM variable driver is ready. **/ VOID VariableNotifySmmReady ( VOID ) @@ -59,11 +59,11 @@ VariableNotifySmmReady ( ); ASSERT_EFI_ERROR (Status); } /** - Notify the system that the SMM variable write driver is ready + Notify the system that the SMM variable write driver is ready. **/ VOID VariableNotifySmmWriteReady ( VOID ) -- 2.18.0.windows.1