Message ID | 20201228071129.24563-2-zhanghan64@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Fix some style problems in qobject | expand |
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>
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/
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/
"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 --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;
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(-)