lib: bit_ceil_wrapul(): stop recursion

It should call bit_ceilul() instead of itself.

Fixes: 0712b236c3 ("Add bit manipulation functions")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
Iker Pedrosa 2023-02-22 10:54:28 +01:00 committed by Serge Hallyn
parent 21d88b4525
commit 3b3d3e5cd4

View File

@ -39,7 +39,7 @@ bit_ceil_wrapul(unsigned long x)
if (x == 0) if (x == 0)
return 0; return 0;
return bit_ceil_wrapul(x); return bit_ceilul(x);
} }
/* stdc_leading_zerosul(3) */ /* stdc_leading_zerosul(3) */