From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: eric.jin@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Thu, 01 Aug 2019 01:48:22 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Aug 2019 01:48:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,333,1559545200"; d="scan'208";a="372535494" Received: from jjin9-mobl.ccr.corp.intel.com ([10.239.192.65]) by fmsmga006.fm.intel.com with ESMTP; 01 Aug 2019 01:48:21 -0700 From: "Eric Jin" To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Liming Gao , Michael D Kinney Subject: [PATCH 13/14] FmpDevicePkg/FmpDxe: Fix code indent Date: Thu, 1 Aug 2019 16:48:17 +0800 Message-Id: <20190801084817.2844-1-eric.jin@intel.com> X-Mailer: git-send-email 2.20.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1525 Cc: Sean Brogan Cc: Bret Barkelew Cc: Liming Gao Signed-off-by: Michael D Kinney Reviewed-by: Eric Jin --- FmpDevicePkg/FmpDxe/VariableSupport.c | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/FmpDevicePkg/FmpDxe/VariableSupport.c b/FmpDevicePkg/FmpDxe/VariableSupport.c index a2deff94a5..86dd5b203b 100644 --- a/FmpDevicePkg/FmpDxe/VariableSupport.c +++ b/FmpDevicePkg/FmpDxe/VariableSupport.c @@ -99,12 +99,12 @@ GetFmpControllerState ( IN FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private ) { - EFI_STATUS Status; + EFI_STATUS Status; FMP_CONTROLLER_STATE *FmpControllerState; - UINTN Size; + UINTN Size; FmpControllerState = NULL; - Size = 0; + Size = 0; Status = GetVariable2 ( Private->FmpStateVariableName, &gEfiCallerIdGuid, @@ -329,7 +329,7 @@ GetVersionFromVariable ( ) { FMP_CONTROLLER_STATE *FmpControllerState; - UINT32 Value; + UINT32 Value; Value = DEFAULT_VERSION; FmpControllerState = GetFmpControllerState (Private); @@ -368,7 +368,7 @@ GetLowestSupportedVersionFromVariable ( ) { FMP_CONTROLLER_STATE *FmpControllerState; - UINT32 Value; + UINT32 Value; Value = DEFAULT_LOWESTSUPPORTEDVERSION; FmpControllerState = GetFmpControllerState (Private); @@ -406,7 +406,7 @@ GetLastAttemptStatusFromVariable ( ) { FMP_CONTROLLER_STATE *FmpControllerState; - UINT32 Value; + UINT32 Value; Value = DEFAULT_LASTATTEMPTSTATUS; FmpControllerState = GetFmpControllerState (Private); @@ -444,7 +444,7 @@ GetLastAttemptVersionFromVariable ( ) { FMP_CONTROLLER_STATE *FmpControllerState; - UINT32 Value; + UINT32 Value; Value = DEFAULT_LASTATTEMPTVERSION; FmpControllerState = GetFmpControllerState (Private); @@ -478,9 +478,9 @@ SetVersionInVariable ( IN UINT32 Version ) { - EFI_STATUS Status; + EFI_STATUS Status; FMP_CONTROLLER_STATE *FmpControllerState; - BOOLEAN Update; + BOOLEAN Update; FmpControllerState = GetFmpControllerState (Private); if (FmpControllerState == NULL) { @@ -541,9 +541,9 @@ SetLowestSupportedVersionInVariable ( IN UINT32 LowestSupportedVersion ) { - EFI_STATUS Status; + EFI_STATUS Status; FMP_CONTROLLER_STATE *FmpControllerState; - BOOLEAN Update; + BOOLEAN Update; FmpControllerState = GetFmpControllerState (Private); if (FmpControllerState == NULL) { @@ -604,9 +604,9 @@ SetLastAttemptStatusInVariable ( IN UINT32 LastAttemptStatus ) { - EFI_STATUS Status; + EFI_STATUS Status; FMP_CONTROLLER_STATE *FmpControllerState; - BOOLEAN Update; + BOOLEAN Update; FmpControllerState = GetFmpControllerState (Private); if (FmpControllerState == NULL) { @@ -667,9 +667,9 @@ SetLastAttemptVersionInVariable ( IN UINT32 LastAttemptVersion ) { - EFI_STATUS Status; + EFI_STATUS Status; FMP_CONTROLLER_STATE *FmpControllerState; - BOOLEAN Update; + BOOLEAN Update; FmpControllerState = GetFmpControllerState (Private); if (FmpControllerState == NULL) { -- 2.20.1.windows.1