[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 08/21] contrib: Open brace '{' following struct go on the same
From: |
Alex Bennée |
Subject: |
[PATCH v2 08/21] contrib: Open brace '{' following struct go on the same line |
Date: |
Wed, 10 Feb 2021 22:10:40 +0000 |
From: zhouyang <zhouyang789@huawei.com>
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>
---
contrib/plugins/howvec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/contrib/plugins/howvec.c b/contrib/plugins/howvec.c
index 9d6fa33297..600f7facc1 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) },
--
2.20.1
- [PATCH v2 00/21] plugins/next pre-PR (hwprofile, regression fixes, icount count fix), Alex Bennée, 2021/02/10
- [PATCH v2 01/21] hw/virtio/pci: include vdev name in registered PCI sections, Alex Bennée, 2021/02/10
- [PATCH v2 02/21] plugins: add API to return a name for a IO device, Alex Bennée, 2021/02/10
- [PATCH v2 04/21] contrib: Don't use '#' flag of printf format, Alex Bennée, 2021/02/10
- [PATCH v2 08/21] contrib: Open brace '{' following struct go on the same line,
Alex Bennée <=
- [PATCH v2 05/21] contrib: Fix some code style problems, ERROR: "foo * bar" should be "foo *bar", Alex Bennée, 2021/02/10
- [PATCH v2 03/21] plugins: new hwprofile plugin, Alex Bennée, 2021/02/10
- [PATCH v2 06/21] contrib: Add spaces around operator, Alex Bennée, 2021/02/10
- [PATCH v2 09/21] accel/tcg/plugin-gen: fix the call signature for inline callbacks, Alex Bennée, 2021/02/10
- [PATCH v2 12/21] target/mips: Create mips_io_recompile_replay_branch, Alex Bennée, 2021/02/10
- [PATCH v2 07/21] contrib: space required after that ',', Alex Bennée, 2021/02/10
- [PATCH v2 11/21] accel/tcg: Create io_recompile_replay_branch hook, Alex Bennée, 2021/02/10
- [PATCH v2 13/21] target/sh4: Create superh_io_recompile_replay_branch, Alex Bennée, 2021/02/10