[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL for-6.0 4/6] qga: Open brace '{' following struct go on the same
From: |
Michael Roth |
Subject: |
[PULL for-6.0 4/6] qga: Open brace '{' following struct go on the same |
Date: |
Tue, 16 Mar 2021 22:22:15 -0500 |
From: AlexChen <alex.chen@huawei.com>
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: AlexChen <alex.chen@huawei.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
---
qga/main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/qga/main.c b/qga/main.c
index 560490467b..20db0058db 100644
--- a/qga/main.c
+++ b/qga/main.c
@@ -686,8 +686,7 @@ DWORD WINAPI service_ctrl_handler(DWORD ctrl, DWORD type,
LPVOID data,
DWORD ret = NO_ERROR;
GAService *service = &ga_state->service;
- switch (ctrl)
- {
+ switch (ctrl) {
case SERVICE_CONTROL_STOP:
case SERVICE_CONTROL_SHUTDOWN:
quit_handler(SIGTERM);
--
2.25.1
- [PULL for-6.0 0/6] qemu-ga patch queue for soft-freeze, Michael Roth, 2021/03/16
- [PULL for-6.0 2/6] qga: Add spaces around operator, Michael Roth, 2021/03/16
- [PULL for-6.0 3/6] qga: Delete redundant spaces, Michael Roth, 2021/03/16
- [PULL for-6.0 1/6] qga: Correct loop count in qmp_guest_get_vcpus(), Michael Roth, 2021/03/16
- [PULL for-6.0 4/6] qga: Open brace '{' following struct go on the same,
Michael Roth <=
- [PULL for-6.0 5/6] qga: Switch and case should be at the same indent, Michael Roth, 2021/03/16
- [PULL for-6.0 6/6] qga: return a more explicit error on why a command is disabled, Michael Roth, 2021/03/16
- Re: [PULL for-6.0 0/6] qemu-ga patch queue for soft-freeze, no-reply, 2021/03/16
- Re: [PULL for-6.0 0/6] qemu-ga patch queue for soft-freeze, Peter Maydell, 2021/03/18