[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 07/48] bsd-user: style tweak: keyword space (
From: |
imp |
Subject: |
[PATCH v2 07/48] bsd-user: style tweak: keyword space ( |
Date: |
Sat, 24 Apr 2021 09:59:35 -0600 |
From: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
bsd-user/uaccess.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsd-user/uaccess.c b/bsd-user/uaccess.c
index 91e2067933..89163257f4 100644
--- a/bsd-user/uaccess.c
+++ b/bsd-user/uaccess.c
@@ -46,7 +46,7 @@ abi_long target_strlen(abi_ulong guest_addr1)
int max_len, len;
guest_addr = guest_addr1;
- for(;;) {
+ for (;;) {
max_len = TARGET_PAGE_SIZE - (guest_addr & ~TARGET_PAGE_MASK);
ptr = lock_user(VERIFY_READ, guest_addr, max_len, 1);
if (!ptr)
--
2.22.1
- [PATCH v2 00/48] bsd-user style and reorg patches, imp, 2021/04/24
- [PATCH v2 01/48] bsd-user: whitespace changes, imp, 2021/04/24
- [PATCH v2 03/48] bsd-user: whitespace changes, imp, 2021/04/24
- [PATCH v2 02/48] bsd-user: whitespace changes, imp, 2021/04/24
- [PATCH v2 05/48] bsd-user: style tweak: keyword space (, imp, 2021/04/24
- [PATCH v2 04/48] bsd-user: style tweak: keyword space (, imp, 2021/04/24
- [PATCH v2 06/48] bsd-user: style tweak: keyword space (, imp, 2021/04/24
- [PATCH v2 07/48] bsd-user: style tweak: keyword space (,
imp <=
- [PATCH v2 08/48] bsd-user: style tweak: use C not C++ comments, imp, 2021/04/24
- [PATCH v2 09/48] bsd-user: style tweak: use C not C++ comments, imp, 2021/04/24
- [PATCH v2 13/48] bsd-user: style tweak: Remove #if 0'd code, imp, 2021/04/24
- [PATCH v2 20/48] bsd-user: style tweak: use {} consistently in for / if / else statements, imp, 2021/04/24
- [PATCH v2 17/48] bsd-user: style tweak: Fix commentary issues, imp, 2021/04/24
- [PATCH v2 21/48] bsd-user: style nits: return is not a function, imp, 2021/04/24
- [PATCH v2 15/48] bsd-user: style tweak: return is not a function, eliminate (), imp, 2021/04/24