[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/5] contrib: Add spaces around operator
From: |
zhouyang (T) |
Subject: |
[PATCH 3/5] contrib: Add spaces around operator |
Date: |
Tue, 8 Dec 2020 20:21:32 +0800 |
I 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 (T) <zhouyang789@huawei.com>
---
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.23.0
- [PATCH 0/5] Fix some style problems in contrib, zhouyang (T), 2020/12/08
- [PATCH 4/5] contrib: space required after that ',', zhouyang (T), 2020/12/08
- [PATCH 2/5] contrib: Fix some code style problems, ERROR: "foo * bar" should be "foo *bar", zhouyang (T), 2020/12/08
- [PATCH 3/5] contrib: Add spaces around operator,
zhouyang (T) <=
- [PATCH 5/5] contrib: Open brace '{' following struct go on the same line, zhouyang (T), 2020/12/08
- [PATCH 1/5] contrib: Don't use '#' flag of printf format, zhouyang (T), 2020/12/08