diff mbox series

hw/core/machine: Fix indentation

Message ID 20250504215639.54860-6-gustavo.romero@linaro.org
State New
Headers show
Series hw/core/machine: Fix indentation | expand

Commit Message

Gustavo Romero May 4, 2025, 9:56 p.m. UTC
Fix indentation for some elements in the hardware compat arrays.

Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
---
 hw/core/machine.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Thomas Huth May 5, 2025, 10:06 a.m. UTC | #1
On 04/05/2025 23.56, Gustavo Romero wrote:
> Fix indentation for some elements in the hardware compat arrays.
> 
> Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
> ---
>   hw/core/machine.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/hw/core/machine.c b/hw/core/machine.c
> index ed01798d37..b8ae155dfa 100644
> --- a/hw/core/machine.c
> +++ b/hw/core/machine.c
> @@ -41,7 +41,7 @@ GlobalProperty hw_compat_10_0[] = {};
>   const size_t hw_compat_10_0_len = G_N_ELEMENTS(hw_compat_10_0);
>   
>   GlobalProperty hw_compat_9_2[] = {
> -    {"arm-cpu", "backcompat-pauth-default-use-qarma5", "true"},
> +    { "arm-cpu", "backcompat-pauth-default-use-qarma5", "true"},
>       { "virtio-balloon-pci", "vectors", "0" },
>       { "virtio-balloon-pci-transitional", "vectors", "0" },
>       { "virtio-balloon-pci-non-transitional", "vectors", "0" },
> @@ -58,12 +58,12 @@ GlobalProperty hw_compat_9_1[] = {
>   const size_t hw_compat_9_1_len = G_N_ELEMENTS(hw_compat_9_1);
>   
>   GlobalProperty hw_compat_9_0[] = {
> -    {"arm-cpu", "backcompat-cntfrq", "true" },
> +    { "arm-cpu", "backcompat-cntfrq", "true" },
>       { "scsi-hd", "migrate-emulated-scsi-request", "false" },
>       { "scsi-cd", "migrate-emulated-scsi-request", "false" },
> -    {"vfio-pci", "skip-vsc-check", "false" },
> +    { "vfio-pci", "skip-vsc-check", "false" },
>       { "virtio-pci", "x-pcie-pm-no-soft-reset", "off" },
> -    {"sd-card", "spec_version", "2" },
> +    { "sd-card", "spec_version", "2" },
>   };
>   const size_t hw_compat_9_0_len = G_N_ELEMENTS(hw_compat_9_0);
>   

Reviewed-by: Thomas Huth <thuth@redhat.com>
diff mbox series

Patch

diff --git a/hw/core/machine.c b/hw/core/machine.c
index ed01798d37..b8ae155dfa 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -41,7 +41,7 @@  GlobalProperty hw_compat_10_0[] = {};
 const size_t hw_compat_10_0_len = G_N_ELEMENTS(hw_compat_10_0);
 
 GlobalProperty hw_compat_9_2[] = {
-    {"arm-cpu", "backcompat-pauth-default-use-qarma5", "true"},
+    { "arm-cpu", "backcompat-pauth-default-use-qarma5", "true"},
     { "virtio-balloon-pci", "vectors", "0" },
     { "virtio-balloon-pci-transitional", "vectors", "0" },
     { "virtio-balloon-pci-non-transitional", "vectors", "0" },
@@ -58,12 +58,12 @@  GlobalProperty hw_compat_9_1[] = {
 const size_t hw_compat_9_1_len = G_N_ELEMENTS(hw_compat_9_1);
 
 GlobalProperty hw_compat_9_0[] = {
-    {"arm-cpu", "backcompat-cntfrq", "true" },
+    { "arm-cpu", "backcompat-cntfrq", "true" },
     { "scsi-hd", "migrate-emulated-scsi-request", "false" },
     { "scsi-cd", "migrate-emulated-scsi-request", "false" },
-    {"vfio-pci", "skip-vsc-check", "false" },
+    { "vfio-pci", "skip-vsc-check", "false" },
     { "virtio-pci", "x-pcie-pm-no-soft-reset", "off" },
-    {"sd-card", "spec_version", "2" },
+    { "sd-card", "spec_version", "2" },
 };
 const size_t hw_compat_9_0_len = G_N_ELEMENTS(hw_compat_9_0);