[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/23] contrib: Fix some code style problems, ERROR: "foo * bar" s
From: |
Alex Bennée |
Subject: |
[PULL 05/23] contrib: Fix some code style problems, ERROR: "foo * bar" should be "foo *bar" |
Date: |
Thu, 18 Feb 2021 09:46:48 +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: "foo * bar" should be "foo *bar"
Signed-off-by: zhouyang <zhouyang789@huawei.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210118031004.1662363-3-zhouyang789@huawei.com>
Message-Id: <20210213130325.14781-6-alex.bennee@linaro.org>
diff --git a/contrib/plugins/howvec.c b/contrib/plugins/howvec.c
index 6e602aaccf..2f892da17d 100644
--- a/contrib/plugins/howvec.c
+++ b/contrib/plugins/howvec.c
@@ -235,7 +235,7 @@ static void vcpu_insn_exec_before(unsigned int cpu_index,
void *udata)
(*count)++;
}
-static uint64_t * find_counter(struct qemu_plugin_insn *insn)
+static uint64_t *find_counter(struct qemu_plugin_insn *insn)
{
int i;
uint64_t *cnt = NULL;
--
2.20.1
- [PULL 00/23] plugin updates (hwprofile, CF_NOCACHE, io_recompile), Alex Bennée, 2021/02/18
- [PULL 01/23] hw/virtio/pci: include vdev name in registered PCI sections, Alex Bennée, 2021/02/18
- [PULL 12/23] target/mips: Create mips_io_recompile_replay_branch, Alex Bennée, 2021/02/18
- [PULL 04/23] contrib: Don't use '#' flag of printf format, Alex Bennée, 2021/02/18
- [PULL 02/23] plugins: add API to return a name for a IO device, Alex Bennée, 2021/02/18
- [PULL 10/23] exec: Move TranslationBlock typedef to qemu/typedefs.h, Alex Bennée, 2021/02/18
- [PULL 03/23] plugins: new hwprofile plugin, Alex Bennée, 2021/02/18
- [PULL 05/23] contrib: Fix some code style problems, ERROR: "foo * bar" should be "foo *bar",
Alex Bennée <=
- [PULL 07/23] contrib: space required after that ',', Alex Bennée, 2021/02/18
- [PULL 08/23] contrib: Open brace '{' following struct go on the same line, Alex Bennée, 2021/02/18
- [PULL 06/23] contrib: Add spaces around operator, Alex Bennée, 2021/02/18
- [PULL 11/23] accel/tcg: Create io_recompile_replay_branch hook, Alex Bennée, 2021/02/18
- [PULL 15/23] tests/acceptance: add a new set of tests to exercise plugins, Alex Bennée, 2021/02/18
- [PULL 18/23] accel/tcg: re-factor non-RAM execution code, Alex Bennée, 2021/02/18
- [PULL 21/23] tests/acceptance: add a new tests to detect counting errors, Alex Bennée, 2021/02/18
- [PULL 16/23] accel/tcg: actually cache our partial icount TB, Alex Bennée, 2021/02/18
- [PULL 22/23] tests/plugin: allow memory plugin to do both inline and callbacks, Alex Bennée, 2021/02/18
- [PULL 13/23] target/sh4: Create superh_io_recompile_replay_branch, Alex Bennée, 2021/02/18