diff mbox series

[1/4] qobject: open brace '{' following struct go on the same line

Message ID 20201228071129.24563-2-zhanghan64@huawei.com (mailing list archive)
State New, archived
Headers show
Series Fix some style problems in qobject | expand

Commit Message

zhanghan (J) Dec. 28, 2020, 7:11 a.m. UTC
Put open brace '{' on the same line of struct.

Signed-off-by: Zhang Han <zhanghan64@huawei.com>
---
 qobject/json-parser.c | 3 +--
 qobject/qjson.c       | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

Comments

Philippe Mathieu-Daudé Dec. 28, 2020, 11:12 a.m. UTC | #1
On 12/28/20 8:11 AM, Zhang Han wrote:
> Put open brace '{' on the same line of struct.
> 
> Signed-off-by: Zhang Han <zhanghan64@huawei.com>
> ---
>  qobject/json-parser.c | 3 +--
>  qobject/qjson.c       | 3 +--
>  2 files changed, 2 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
zhanghan (J) Jan. 14, 2021, 2:22 a.m. UTC | #2
ping?

This patch set was submitted two weeks ago,and 2 of patches ([1/4], [4/4]) has been reviewd.
Whose tree should it go via?

Other patches receive no replies.
Did I miss any response?

The link follows:
http://patchwork.ozlabs.org/project/qemu-devel/cover/20201228071129.24563-1-zhanghan64@huawei.com/
zhanghan (J) Feb. 1, 2021, 6:16 a.m. UTC | #3
ping?This patch set about code style problem in qobject  receives no replies.

Did I miss any response?

The link follows:
http://patchwork.ozlabs.org/project/qemu-devel/cover/20201228071129.24563-1-zhanghan64@huawei.com/
Markus Armbruster Feb. 1, 2021, 12:27 p.m. UTC | #4
"zhanghan (J)" <zhanghan64@huawei.com> writes:

> ping?This patch set about code style problem in qobject  receives no replies.
>
> Did I miss any response?

The Christmas break ate your patches.  My apologies!

[...]
diff mbox series

Patch

diff --git a/qobject/json-parser.c b/qobject/json-parser.c
index c0f521b56b..18b87a42f3 100644
--- a/qobject/json-parser.c
+++ b/qobject/json-parser.c
@@ -31,8 +31,7 @@  struct JSONToken {
     char str[];
 };
 
-typedef struct JSONParserContext
-{
+typedef struct JSONParserContext {
     Error *err;
     JSONToken *current;
     GQueue *buf;
diff --git a/qobject/qjson.c b/qobject/qjson.c
index f1f2c69704..f5623081e3 100644
--- a/qobject/qjson.c
+++ b/qobject/qjson.c
@@ -22,8 +22,7 @@ 
 #include "qapi/qmp/qstring.h"
 #include "qemu/unicode.h"
 
-typedef struct JSONParsingState
-{
+typedef struct JSONParsingState {
     JSONMessageParser parser;
     QObject *result;
     Error *err;