summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinhao Zhang2020-11-03 11:26:34 +0100
committerMichael S. Tsirkin2020-11-03 13:19:27 +0100
commit510feed79a364521df41508ced6498ebf30728cd (patch)
tree15fd803dc708172dba7bb3c1c58f6c21bb09777d
parenthw/acpi : add space before the open parenthesis '(' (diff)
downloadqemu-510feed79a364521df41508ced6498ebf30728cd.tar.gz
qemu-510feed79a364521df41508ced6498ebf30728cd.tar.xz
qemu-510feed79a364521df41508ced6498ebf30728cd.zip
hw/acpi : add spaces around operator
Fix code style. Operator needs spaces both sides. Signed-off-by: Xinhao Zhang <zhangxinhao1@huawei.com> Signed-off-by: Kai Deng <dengkai1@huawei.com> Message-Id: <20201103102634.273021-3-zhangxinhao1@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--hw/acpi/pcihp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/pcihp.c b/hw/acpi/pcihp.c
index 32ae8b2c0a..17c32e0ffd 100644
--- a/hw/acpi/pcihp.c
+++ b/hw/acpi/pcihp.c
@@ -400,7 +400,7 @@ void acpi_pcihp_init(Object *owner, AcpiPciHpState *s, PCIBus *root_bus,
s->io_len = ACPI_PCIHP_SIZE;
s->io_base = ACPI_PCIHP_ADDR;
- s->root= root_bus;
+ s->root = root_bus;
s->legacy_piix = !bridges_enabled;
memory_region_init_io(&s->io, owner, &acpi_pcihp_io_ops, s,