All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: qemu-devel@nongnu.org, Peter Maydell <peter.maydell@linaro.org>
Cc: Greg Kurz <groug@kaod.org>,
	Xinhao Zhang <zhangxinhao1@huawei.com>,
	Kai Deng <dengkai1@huawei.com>
Subject: [PULL 2/4] hw/9pfs : open brace '{' following struct go on the same line
Date: Fri, 06 Nov 2020 10:13:10 +0100	[thread overview]
Message-ID: <487729e9f667644ee0d6762b24269e7758ad2e5e.1604653990.git.qemu_oss@crudebyte.com> (raw)
In-Reply-To: <cover.1604653990.git.qemu_oss@crudebyte.com>

From: Xinhao Zhang <zhangxinhao1@huawei.com>

Fix code style. Open braces for struct should go on the same line.

Signed-off-by: Xinhao Zhang <zhangxinhao1@huawei.com>
Signed-off-by: Kai Deng <dengkai1@huawei.com>
Reported-by: Euler Robot <euler.robot@huawei.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20201030043515.1030223-2-zhangxinhao1@huawei.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
---
 hw/9pfs/9p.h | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h
index 3dd1b50b1a..32df81f360 100644
--- a/hw/9pfs/9p.h
+++ b/hw/9pfs/9p.h
@@ -143,8 +143,7 @@ typedef struct {
  */
 QEMU_BUILD_BUG_ON(sizeof(P9MsgHeader) != 7);
 
-struct V9fsPDU
-{
+struct V9fsPDU {
     uint32_t size;
     uint16_t tag;
     uint8_t id;
@@ -270,8 +269,7 @@ union V9fsFidOpenState {
     void *private;
 };
 
-struct V9fsFidState
-{
+struct V9fsFidState {
     int fid_type;
     int32_t fid;
     V9fsPath path;
@@ -338,8 +336,7 @@ typedef struct {
     uint64_t path;
 } QpfEntry;
 
-struct V9fsState
-{
+struct V9fsState {
     QLIST_HEAD(, V9fsPDU) free_list;
     QLIST_HEAD(, V9fsPDU) active_list;
     V9fsFidState *fid_list;
-- 
2.20.1



  parent reply	other threads:[~2020-11-06  9:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-06  9:13 [PULL 0/4] 9p queue for 5.2 (2020-11-06) Christian Schoenebeck
2020-11-06  9:13 ` [PULL 3/4] hw/9pfs : add space before the open parenthesis '(' Christian Schoenebeck
2020-11-06  9:13 ` Christian Schoenebeck [this message]
2020-11-06  9:13 ` [PULL 1/4] hw/9pfs : add spaces around operator Christian Schoenebeck
2020-11-06  9:13 ` [PULL 4/4] hw/9pfs: Fix Kconfig dependency problem between 9pfs and Xen Christian Schoenebeck
2020-11-06 10:34 ` [PULL 0/4] 9p queue for 5.2 (2020-11-06) Peter Maydell

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=487729e9f667644ee0d6762b24269e7758ad2e5e.1604653990.git.qemu_oss@crudebyte.com \
    --to=qemu_oss@crudebyte.com \
    --cc=dengkai1@huawei.com \
    --cc=groug@kaod.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=zhangxinhao1@huawei.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.