[Drbd-dev] [PATCH 09/17] lru_cache: remove space after function name
Tobin C. Harding
me at tobin.cc
Mon Oct 2 00:34:08 CEST 2017
checkpatch emits WARNING: space prohibited between function name and
open parenthesis '('.
Remove space between function name and open parenthesis.
Signed-off-by: Tobin C. Harding <me at tobin.cc>
---
lib/lru_cache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/lru_cache.c b/lib/lru_cache.c
index 34af31e..8a5ef8c 100644
--- a/lib/lru_cache.c
+++ b/lib/lru_cache.c
@@ -67,7 +67,7 @@ int lc_try_lock(struct lru_cache *lc)
do {
val = cmpxchg(&lc->flags, 0, LC_LOCKED);
- } while (unlikely (val == LC_PARANOIA));
+ } while (unlikely(val == LC_PARANOIA));
/* Spin until no-one is inside a PARANOIA_ENTRY()/RETURN() section. */
return 0 == val;
#if 0
@@ -80,7 +80,7 @@ int lc_try_lock(struct lru_cache *lc)
old = lc->flags & LC_PARANOIA;
new = old | LC_LOCKED;
val = cmpxchg(&lc->flags, old, new);
- } while (unlikely (val == (old ^ LC_PARANOIA)));
+ } while (unlikely(val == (old ^ LC_PARANOIA)));
return old == val;
#endif
}
--
2.7.4
More information about the drbd-dev
mailing list