[Drbd-dev] [PATCH 16/17] lru_cache: add spaces around '|'

Tobin C. Harding me at tobin.cc
Mon Oct 2 00:34:15 CEST 2017


checkpatch emits CHECK: spaces preferred around that '|' (ctx:VxV)

Add spaces around '|'.

Signed-off-by: Tobin C. Harding <me at tobin.cc>
---
 lib/lru_cache.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/lru_cache.c b/lib/lru_cache.c
index 09fdb7c..5acfbe0 100644
--- a/lib/lru_cache.c
+++ b/lib/lru_cache.c
@@ -518,7 +518,8 @@ struct lc_element *lc_get(struct lru_cache *lc, unsigned int enr)
  */
 struct lc_element *lc_get_cumulative(struct lru_cache *lc, unsigned int enr)
 {
-	return __lc_get(lc, enr, LC_GET_MAY_CHANGE|LC_GET_MAY_USE_UNCOMMITTED);
+	return __lc_get(lc, enr,
+			LC_GET_MAY_CHANGE | LC_GET_MAY_USE_UNCOMMITTED);
 }
 
 /**
-- 
2.7.4



More information about the drbd-dev mailing list