git: 09da6ffa55a3 - main - newbus: style nit: use while<space>(0)

Warner Losh imp at FreeBSD.org
Sun Apr 18 05:46:28 UTC 2021


The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=09da6ffa55a31aa2c257ffd0b45c5208ac55f916

commit 09da6ffa55a31aa2c257ffd0b45c5208ac55f916
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-04-18 05:45:08 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-04-18 05:46:18 +0000

    newbus: style nit: use while<space>(0)
    
    Sponsored by:           Netflix
---
 sys/sys/kobj.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/sys/kobj.h b/sys/sys/kobj.h
index aaf92688ca08..75d8caed7b3f 100644
--- a/sys/sys/kobj.h
+++ b/sys/sys/kobj.h
@@ -234,7 +234,7 @@ extern u_int kobj_lookup_misses;
 	} else							\
 		kobj_lookup_hits++;				\
 	_m = _ce->func;						\
-} while(0)
+} while (0)
 #else
 #define KOBJOPLOOKUP(OPS,OP) do {				\
 	kobjop_desc_t _desc = &OP##_##desc;			\
@@ -245,7 +245,7 @@ extern u_int kobj_lookup_misses;
 		_ce = kobj_lookup_method(OPS->cls,		\
 					 _cep, _desc);		\
 	_m = _ce->func;						\
-} while(0)
+} while (0)
 #endif
 
 kobj_method_t* kobj_lookup_method(kobj_class_t cls,


More information about the dev-commits-src-all mailing list