On Tue, 3 Nov 2020 18:26:33 +0800
Xinhao Zhang <[email protected]> wrote:

> Fix code style. Space required before the open parenthesis '('.
> 
> Signed-off-by: Xinhao Zhang <[email protected]>
> Signed-off-by: Kai Deng <[email protected]>

Reviewed-by: Igor Mammedov <[email protected]>

> ---
>  hw/acpi/core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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;


Reply via email to