From 09da6ffa55a31aa2c257ffd0b45c5208ac55f916 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 17 Apr 2021 23:45:08 -0600 Subject: [PATCH] newbus: style nit: use while(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,