qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Yutao Ai <aiyutao@huawei.com>
To: <dgilbert@redhat.com>, <armbru@redhat.com>
Cc: alex.chen@huawei.com, aiyutao@huawei.com, qemu-devel@nongnu.org
Subject: [PATCH 1/3] monitor:open brace '{' following struct go on the same line
Date: Wed, 25 Nov 2020 01:45:12 +0000	[thread overview]
Message-ID: <20201125014514.55562-2-aiyutao@huawei.com> (raw)
In-Reply-To: <20201125014514.55562-1-aiyutao@huawei.com>

Move the open brace '{' following struct go on the same line

Signed-off-by: Yutao Ai <aiyutao@huawei.com>
---
 monitor/hmp-cmds.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/monitor/hmp-cmds.c b/monitor/hmp-cmds.c
index 8d7f5fee7e..64188c9fa2 100644
--- a/monitor/hmp-cmds.c
+++ b/monitor/hmp-cmds.c
@@ -1548,8 +1548,7 @@ end:
     hmp_handle_error(mon, err);
 }
 
-typedef struct HMPMigrationStatus
-{
+typedef struct HMPMigrationStatus {
     QEMUTimer *timer;
     Monitor *mon;
     bool is_block_migration;
-- 
2.19.1



  reply	other threads:[~2020-11-25  2:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-25  1:45 [PATCH 0/3] Fix some style problems in monitor Yutao Ai
2020-11-25  1:45 ` Yutao Ai [this message]
2020-11-25  1:45 ` [PATCH 2/3] monitor:braces {} are necessary for all arms of this statement Yutao Ai
2020-11-25  1:45 ` [PATCH 3/3] monitor:Don't use '#' flag of printf format ('%#') in format strings Yutao Ai
2020-11-25  8:09   ` Philippe Mathieu-Daudé
2020-12-08 16:39 ` [PATCH 0/3] Fix some style problems in monitor Dr. David Alan Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201125014514.55562-2-aiyutao@huawei.com \
    --to=aiyutao@huawei.com \
    --cc=alex.chen@huawei.com \
    --cc=armbru@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).