diff options
author | zhouyang <zhouyang789@huawei.com> | 2021-02-13 13:03:10 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2021-02-18 08:17:27 +0000 |
commit | 24fa5d669d243699be3a179efc55041a291bb748 (patch) | |
tree | 1dc31789aafb9cabebe8455d90e6619f95b4b6eb /contrib | |
parent | edd4a85dd77369eb9e64c2755dad212f406dda43 (diff) | |
download | qemu-24fa5d669d243699be3a179efc55041a291bb748.zip qemu-24fa5d669d243699be3a179efc55041a291bb748.tar.gz qemu-24fa5d669d243699be3a179efc55041a291bb748.tar.bz2 |
contrib: Open brace '{' following struct go on the same line
I found some style problems whil check the code using checkpatch.pl.
This commit fixs the issue below:
ERROR: that open brace { should be on the previous line
Signed-off-by: zhouyang <zhouyang789@huawei.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210118031004.1662363-6-zhouyang789@huawei.com>
Message-Id: <20210213130325.14781-9-alex.bennee@linaro.org>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/plugins/howvec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/plugins/howvec.c b/contrib/plugins/howvec.c index 9d6fa33..600f7fa 100644 --- a/contrib/plugins/howvec.c +++ b/contrib/plugins/howvec.c @@ -145,8 +145,7 @@ typedef struct { int table_sz; } ClassSelector; -static ClassSelector class_tables[] = -{ +static ClassSelector class_tables[] = { { "aarch64", aarch64_insn_classes, ARRAY_SIZE(aarch64_insn_classes) }, { "sparc", sparc32_insn_classes, ARRAY_SIZE(sparc32_insn_classes) }, { "sparc64", sparc64_insn_classes, ARRAY_SIZE(sparc64_insn_classes) }, |