summary refs log tree commit diff stats
path: root/hw/acpi/core.c
diff options
context:
space:
mode:
authorXinhao Zhang <zhangxinhao1@huawei.com>2020-11-03 18:26:33 +0800
committerMichael S. Tsirkin <mst@redhat.com>2020-11-03 07:19:26 -0500
commit4cbf31a8fef91648995f3f576f7ede661b3e0c18 (patch)
tree58968727e187e32c5e916292d3b6ae989ccd0ebc /hw/acpi/core.c
parent88eed1989619b4059d225c593f6c59860e0271c8 (diff)
downloadfocaccia-qemu-4cbf31a8fef91648995f3f576f7ede661b3e0c18.tar.gz
focaccia-qemu-4cbf31a8fef91648995f3f576f7ede661b3e0c18.zip
hw/acpi : add space before the open parenthesis '('
Fix code style. Space required before the open parenthesis '('.

Signed-off-by: Xinhao Zhang <zhangxinhao1@huawei.com>
Signed-off-by: Kai Deng <dengkai1@huawei.com>
Message-Id: <20201103102634.273021-2-zhangxinhao1@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/acpi/core.c')
-rw-r--r--hw/acpi/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/core.c b/hw/acpi/core.c
index ade9158cbf..2c0c83221f 100644
--- a/hw/acpi/core.c
+++ b/hw/acpi/core.c
@@ -558,7 +558,7 @@ static void acpi_pm1_cnt_write(ACPIREGS *ar, uint16_t val)
     if (val & ACPI_BITMASK_SLEEP_ENABLE) {
         /* change suspend type */
         uint16_t sus_typ = (val >> 10) & 7;
-        switch(sus_typ) {
+        switch (sus_typ) {
         case 0: /* soft power off */
             qemu_system_shutdown_request(SHUTDOWN_CAUSE_GUEST_SHUTDOWN);
             break;