[sheepdog] [PATCH] codestyle: fixed code style errors in include/bitops.h

Kai Zhang kyle at zelin.io
Mon Jul 8 06:50:15 CEST 2013


Signed-off-by: Kai Zhang <kyle at zelin.io>
---
 include/bitops.h |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/include/bitops.h b/include/bitops.h
index 358c402..57316ac 100644
--- a/include/bitops.h
+++ b/include/bitops.h
@@ -17,8 +17,9 @@
 
 #define BITOP_WORD(nr)		((nr) / BITS_PER_LONG)
 
-static inline unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size,
-				 unsigned long offset)
+static inline unsigned long find_next_zero_bit(const unsigned long *addr,
+					       unsigned long size,
+					       unsigned long offset)
 {
 	const unsigned long *p = addr + BITOP_WORD(offset);
 	unsigned long result = offset & ~(BITS_PER_LONG-1);
@@ -57,8 +58,9 @@ found_middle:
 	return result + ffz(tmp);
 }
 
-static inline unsigned long find_next_bit(const unsigned long *addr, unsigned long size,
-			    unsigned long offset)
+static inline unsigned long find_next_bit(const unsigned long *addr,
+					  unsigned long size,
+					  unsigned long offset)
 {
 	const unsigned long *p = addr + BITOP_WORD(offset);
 	unsigned long result = offset & ~(BITS_PER_LONG-1);
-- 
1.7.9.5




More information about the sheepdog mailing list