[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/24] bsd-user: style tweak: keyword space (
From: |
imp |
Subject: |
[PULL 05/24] bsd-user: style tweak: keyword space ( |
Date: |
Fri, 23 Apr 2021 14:39:31 -0600 |
From: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
bsd-user/qemu.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h
index d2bcaab741..b836b603af 100644
--- a/bsd-user/qemu.h
+++ b/bsd-user/qemu.h
@@ -233,7 +233,7 @@ static inline bool access_ok(int type, abi_ulong addr,
abi_ulong size)
#define __put_user(x, hptr)\
({\
int size = sizeof(*hptr);\
- switch(size) {\
+ switch (size) {\
case 1:\
*(uint8_t *)(hptr) = (uint8_t)(typeof(*hptr))(x);\
break;\
@@ -255,7 +255,7 @@ static inline bool access_ok(int type, abi_ulong addr,
abi_ulong size)
#define __get_user(x, hptr) \
({\
int size = sizeof(*hptr);\
- switch(size) {\
+ switch (size) {\
case 1:\
x = (typeof(*hptr))*(uint8_t *)(hptr);\
break;\
--
2.22.1
- [PULL 01/24] bsd-user: whitespace changes, imp, 2021/04/23
- [PULL 03/24] bsd-user: whitespace changes, imp, 2021/04/23
- [PULL 05/24] bsd-user: style tweak: keyword space (,
imp <=
- [PULL 02/24] bsd-user: whitespace changes, imp, 2021/04/23
- [PULL 06/24] bsd-user: style tweak: keyword space (, imp, 2021/04/23
- [PULL 07/24] bsd-user: style tweak: keyword space (, imp, 2021/04/23
- [PULL 04/24] bsd-user: style tweak: keyword space (, imp, 2021/04/23
- [PULL 09/24] bsd-user: style tweak: use C not C++ comments, imp, 2021/04/23