[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 07/23] contrib: space required after that ','
From: |
Alex Bennée |
Subject: |
[PATCH v3 07/23] contrib: space required after that ',' |
Date: |
Sat, 13 Feb 2021 13:03:09 +0000 |
From: zhouyang <zhouyang789@huawei.com>
I am reading contrib related code and found some style problems while
check the code using checkpatch.pl. This commit fixs the issue below:
ERROR: space required after that ','
Signed-off-by: zhouyang <zhouyang789@huawei.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210118031004.1662363-5-zhouyang789@huawei.com>
Message-Id: <20210210221053.18050-8-alex.bennee@linaro.org>
---
contrib/plugins/howvec.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/contrib/plugins/howvec.c b/contrib/plugins/howvec.c
index 2f892da17d..9d6fa33297 100644
--- a/contrib/plugins/howvec.c
+++ b/contrib/plugins/howvec.c
@@ -68,7 +68,7 @@ static InsnClassExecCount aarch64_insn_classes[] = {
{ "Reserved", "res", 0x1e000000, 0x00000000, COUNT_CLASS},
/* Data Processing Immediate */
{ " PCrel addr", "pcrel", 0x1f000000, 0x10000000, COUNT_CLASS},
- { " Add/Sub (imm,tags)","asit", 0x1f800000, 0x11800000, COUNT_CLASS},
+ { " Add/Sub (imm,tags)", "asit", 0x1f800000, 0x11800000, COUNT_CLASS},
{ " Add/Sub (imm)", "asi", 0x1f000000, 0x11000000, COUNT_CLASS},
{ " Logical (imm)", "logi", 0x1f800000, 0x12000000, COUNT_CLASS},
{ " Move Wide (imm)", "movwi", 0x1f800000, 0x12800000, COUNT_CLASS},
@@ -91,17 +91,17 @@ static InsnClassExecCount aarch64_insn_classes[] = {
{ "Branches", "branch", 0x1c000000, 0x14000000, COUNT_CLASS},
/* Loads and Stores */
{ " AdvSimd ldstmult", "advlsm", 0xbfbf0000, 0x0c000000, COUNT_CLASS},
- { " AdvSimd ldstmult++","advlsmp",0xbfb00000, 0x0c800000, COUNT_CLASS},
+ { " AdvSimd ldstmult++", "advlsmp", 0xbfb00000, 0x0c800000, COUNT_CLASS},
{ " AdvSimd ldst", "advlss", 0xbf9f0000, 0x0d000000, COUNT_CLASS},
- { " AdvSimd ldst++", "advlssp",0xbf800000, 0x0d800000, COUNT_CLASS},
+ { " AdvSimd ldst++", "advlssp", 0xbf800000, 0x0d800000, COUNT_CLASS},
{ " ldst excl", "ldstx", 0x3f000000, 0x08000000, COUNT_CLASS},
{ " Prefetch", "prfm", 0xff000000, 0xd8000000, COUNT_CLASS},
{ " Load Reg (lit)", "ldlit", 0x1b000000, 0x18000000, COUNT_CLASS},
- { " ldst noalloc pair", "ldstnap",0x3b800000, 0x28000000, COUNT_CLASS},
+ { " ldst noalloc pair", "ldstnap", 0x3b800000, 0x28000000, COUNT_CLASS},
{ " ldst pair", "ldstp", 0x38000000, 0x28000000, COUNT_CLASS},
{ " ldst reg", "ldstr", 0x3b200000, 0x38000000, COUNT_CLASS},
{ " Atomic ldst", "atomic", 0x3b200c00, 0x38200000, COUNT_CLASS},
- { " ldst reg (reg off)","ldstro", 0x3b200b00, 0x38200800, COUNT_CLASS},
+ { " ldst reg (reg off)", "ldstro", 0x3b200b00, 0x38200800, COUNT_CLASS},
{ " ldst reg (pac)", "ldstpa", 0x3b200200, 0x38200800, COUNT_CLASS},
{ " ldst reg (imm)", "ldsti", 0x3b000000, 0x39000000, COUNT_CLASS},
{ "Loads & Stores", "ldst", 0x0a000000, 0x08000000, COUNT_CLASS},
@@ -202,7 +202,7 @@ static void plugin_exit(qemu_plugin_id_t id, void *p)
counts = g_hash_table_get_values(insns);
if (counts && g_list_next(counts)) {
- g_string_append_printf(report,"Individual Instructions:\n");
+ g_string_append_printf(report, "Individual Instructions:\n");
counts = g_list_sort(counts, cmp_exec_count);
for (i = 0; i < limit && g_list_next(counts);
--
2.20.1
- [PATCH v3 00/23] plugins/next pre-PR (hwprofile, regression fixes, icount count fix), Alex Bennée, 2021/02/13
- [PATCH v3 01/23] hw/virtio/pci: include vdev name in registered PCI sections, Alex Bennée, 2021/02/13
- [PATCH v3 02/23] plugins: add API to return a name for a IO device, Alex Bennée, 2021/02/13
- [PATCH v3 03/23] plugins: new hwprofile plugin, Alex Bennée, 2021/02/13
- [PATCH v3 04/23] contrib: Don't use '#' flag of printf format, Alex Bennée, 2021/02/13
- [PATCH v3 12/23] target/mips: Create mips_io_recompile_replay_branch, Alex Bennée, 2021/02/13
- [PATCH v3 08/23] contrib: Open brace '{' following struct go on the same line, Alex Bennée, 2021/02/13
- [PATCH v3 06/23] contrib: Add spaces around operator, Alex Bennée, 2021/02/13
- [PATCH v3 09/23] accel/tcg/plugin-gen: fix the call signature for inline callbacks, Alex Bennée, 2021/02/13
- [PATCH v3 05/23] contrib: Fix some code style problems, ERROR: "foo * bar" should be "foo *bar", Alex Bennée, 2021/02/13
- [PATCH v3 07/23] contrib: space required after that ',',
Alex Bennée <=
- [PATCH v3 18/23] accel/tcg: re-factor non-RAM execution code, Alex Bennée, 2021/02/13
- [PATCH v3 14/23] tests/plugin: expand insn test to detect duplicate instructions, Alex Bennée, 2021/02/13
- [PATCH v3 20/23] accel/tcg: allow plugin instrumentation to be disable via cflags, Alex Bennée, 2021/02/13
- [PATCH v3 11/23] accel/tcg: Create io_recompile_replay_branch hook, Alex Bennée, 2021/02/13
- [PATCH v3 19/23] accel/tcg: remove CF_NOCACHE and special cases, Alex Bennée, 2021/02/13
- [PATCH v3 13/23] target/sh4: Create superh_io_recompile_replay_branch, Alex Bennée, 2021/02/13
- [PATCH v3 22/23] tests/plugin: allow memory plugin to do both inline and callbacks, Alex Bennée, 2021/02/13