da61fe2f72ecc644a11fb7740646f5faffd15f5e Correct isue on _find_next_bit and _find_next_bit_le (2). lib/find_bit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/find_bit.c b/lib/find_bit.c index 3143def..7fa92e1 100644 --- a/lib/find_bit.c +++ b/lib/find_bit.c @@ -50,7 +50,7 @@ static unsigned long _find_next_bit(const unsigned long *addr, tmp = addr[start / BITS_PER_LONG] ^ invert; } - return min(start + __ffs(tmp), nbits); + return min((start + __ffs(tmp)), nbits); } #endif @@ -168,7 +168,7 @@ static unsigned long _find_next_bit_le(const unsigned long *addr, tmp = addr[start / BITS_PER_LONG] ^ invert; } - return min(start + __ffs(ext2_swab(tmp)), nbits); + return min((start + __ffs(ext2_swab(tmp))), nbits); } #endif -- 2.7.4