diff options
author | zhouyang <zhouyang789@huawei.com> | 2020-12-09 14:07:35 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-12-13 17:46:36 +0100 |
commit | 87b804ec4c05d793f9c6374b0e90ef2614bb5b25 (patch) | |
tree | 8a09249147fcd995617a26e77125b8c61a55fd22 /fsdev/file-op-9p.h | |
parent | f6a3c86ebd39aaedf1ebf89629ec91b5d44b670d (diff) |
fsdev: open brace '{' following struct go on the same line
I found some style problems while check the code using checkpatch.pl.
This commit fixs the issue below:
ERROR: open brace '{' following struct go on the same line
Signed-off-by: zhouyang <zhouyang789@huawei.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201209060735.2760943-1-zhouyang789@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'fsdev/file-op-9p.h')
-rw-r--r-- | fsdev/file-op-9p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fsdev/file-op-9p.h b/fsdev/file-op-9p.h index d51cec2f3b..42f677cf38 100644 --- a/fsdev/file-op-9p.h +++ b/fsdev/file-op-9p.h @@ -110,8 +110,7 @@ typedef union V9fsFidOpenState V9fsFidOpenState; void cred_init(FsCred *); -struct FileOperations -{ +struct FileOperations { int (*parse_opts)(QemuOpts *, FsDriverEntry *, Error **errp); int (*init)(FsContext *, Error **errp); void (*cleanup)(FsContext *); |