[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 06/23] contrib: Add spaces around operator
From: |
Alex Bennée |
Subject: |
[PATCH v3 06/23] contrib: Add spaces around operator |
Date: |
Sat, 13 Feb 2021 13:03:08 +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: spaces required around that '*'
Signed-off-by: zhouyang <zhouyang789@huawei.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210118031004.1662363-4-zhouyang789@huawei.com>
Message-Id: <20210210221053.18050-7-alex.bennee@linaro.org>
---
contrib/ivshmem-server/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/ivshmem-server/main.c b/contrib/ivshmem-server/main.c
index ee08c4ced0..224dbeb547 100644
--- a/contrib/ivshmem-server/main.c
+++ b/contrib/ivshmem-server/main.c
@@ -17,7 +17,7 @@
#define IVSHMEM_SERVER_DEFAULT_PID_FILE "/var/run/ivshmem-server.pid"
#define IVSHMEM_SERVER_DEFAULT_UNIX_SOCK_PATH "/tmp/ivshmem_socket"
#define IVSHMEM_SERVER_DEFAULT_SHM_PATH "ivshmem"
-#define IVSHMEM_SERVER_DEFAULT_SHM_SIZE (4*1024*1024)
+#define IVSHMEM_SERVER_DEFAULT_SHM_SIZE (4 * 1024 * 1024)
#define IVSHMEM_SERVER_DEFAULT_N_VECTORS 1
/* used to quit on signal SIGTERM */
--
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 <=
- [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, 2021/02/13
- [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