[edk2-devel] [PATCH v1 2/3] EmulatorPkg: Format with Uncrustify 73.0.8

Michael Kubacki posted 3 patches 2 years, 2 months ago
[edk2-devel] [PATCH v1 2/3] EmulatorPkg: Format with Uncrustify 73.0.8
Posted by Michael Kubacki 2 years, 2 months ago
From: Michael Kubacki <michael.kubacki@microsoft.com>

Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
---
 EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c b/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c
index bf2f0ac9808c..2234d29def44 100644
--- a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c
+++ b/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c
@@ -112,9 +112,9 @@ EFI_FVB_MEDIA_INFO  mPlatformFvbMediaInfo[] = {
       {
         {
           (FixedPcdGet32 (PcdFlashNvStorageVariableSize) + \
-           FixedPcdGet32 (PcdFlashNvStorageFtwWorkingSize) + \
-           FixedPcdGet32 (PcdFlashNvStorageFtwSpareSize) + \
-           FixedPcdGet32 (PcdEmuFlashNvStorageEventLogSize)) / FixedPcdGet32 (PcdEmuFirmwareBlockSize),
+            FixedPcdGet32 (PcdFlashNvStorageFtwWorkingSize) + \
+            FixedPcdGet32 (PcdFlashNvStorageFtwSpareSize) + \
+            FixedPcdGet32 (PcdEmuFlashNvStorageEventLogSize)) / FixedPcdGet32 (PcdEmuFirmwareBlockSize),
           FixedPcdGet32 (PcdEmuFirmwareBlockSize),
         }
       }
-- 
2.42.0.windows.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111217): https://edk2.groups.io/g/devel/message/111217
Mute This Topic: https://groups.io/mt/102591692/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH v1 2/3] EmulatorPkg: Format with Uncrustify 73.0.8
Posted by Ni, Ray 2 years, 2 months ago
Reviewed-by: Ray Ni <ray.ni@intel.com>

Thanks,
Ray
________________________________
From: mikuback@linux.microsoft.com <mikuback@linux.microsoft.com>
Sent: Wednesday, November 15, 2023 4:22 AM
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Andrew Fish <afish@apple.com>; Ni, Ray <ray.ni@intel.com>
Subject: [PATCH v1 2/3] EmulatorPkg: Format with Uncrustify 73.0.8

From: Michael Kubacki <michael.kubacki@microsoft.com>

Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
---
 EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c b/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c
index bf2f0ac9808c..2234d29def44 100644
--- a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c
+++ b/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c
@@ -112,9 +112,9 @@ EFI_FVB_MEDIA_INFO  mPlatformFvbMediaInfo[] = {
       {
         {
           (FixedPcdGet32 (PcdFlashNvStorageVariableSize) + \
-           FixedPcdGet32 (PcdFlashNvStorageFtwWorkingSize) + \
-           FixedPcdGet32 (PcdFlashNvStorageFtwSpareSize) + \
-           FixedPcdGet32 (PcdEmuFlashNvStorageEventLogSize)) / FixedPcdGet32 (PcdEmuFirmwareBlockSize),
+            FixedPcdGet32 (PcdFlashNvStorageFtwWorkingSize) + \
+            FixedPcdGet32 (PcdFlashNvStorageFtwSpareSize) + \
+            FixedPcdGet32 (PcdEmuFlashNvStorageEventLogSize)) / FixedPcdGet32 (PcdEmuFirmwareBlockSize),
           FixedPcdGet32 (PcdEmuFirmwareBlockSize),
         }
       }
--
2.42.0.windows.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111435): https://edk2.groups.io/g/devel/message/111435
Mute This Topic: https://groups.io/mt/102591692/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/3901457/1787277/102458076/xyzzy [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v1 2/3] EmulatorPkg: Format with Uncrustify 73.0.8
Posted by Laszlo Ersek 2 years, 2 months ago
On 11/14/23 21:22, Michael Kubacki wrote:
> From: Michael Kubacki <michael.kubacki@microsoft.com>
> 
> Cc: Andrew Fish <afish@apple.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
> ---
>  EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c b/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c
> index bf2f0ac9808c..2234d29def44 100644
> --- a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c
> +++ b/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c
> @@ -112,9 +112,9 @@ EFI_FVB_MEDIA_INFO  mPlatformFvbMediaInfo[] = {
>        {
>          {
>            (FixedPcdGet32 (PcdFlashNvStorageVariableSize) + \
> -           FixedPcdGet32 (PcdFlashNvStorageFtwWorkingSize) + \
> -           FixedPcdGet32 (PcdFlashNvStorageFtwSpareSize) + \
> -           FixedPcdGet32 (PcdEmuFlashNvStorageEventLogSize)) / FixedPcdGet32 (PcdEmuFirmwareBlockSize),
> +            FixedPcdGet32 (PcdFlashNvStorageFtwWorkingSize) + \
> +            FixedPcdGet32 (PcdFlashNvStorageFtwSpareSize) + \
> +            FixedPcdGet32 (PcdEmuFlashNvStorageEventLogSize)) / FixedPcdGet32 (PcdEmuFirmwareBlockSize),
>            FixedPcdGet32 (PcdEmuFirmwareBlockSize),
>          }
>        }

Reviewed-by: Laszlo Ersek <lersek@redhat.com>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111263): https://edk2.groups.io/g/devel/message/111263
Mute This Topic: https://groups.io/mt/102591692/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/3901457/1787277/102458076/xyzzy [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-