Re: [PATCH v7 05/19] xen/bitops: implement fls{l}() in common logic

2024-04-04 Thread Jan Beulich
On 03.04.2024 12:19, Oleksii Kurochko wrote: > --- a/xen/include/xen/bitops.h > +++ b/xen/include/xen/bitops.h > @@ -201,7 +201,7 @@ static always_inline __pure int test_bit(int nr, const > volatile void *addr) > > static always_inline __pure int fls(unsigned int x) > { > -if

[PATCH v7 05/19] xen/bitops: implement fls{l}() in common logic

2024-04-03 Thread Oleksii Kurochko
Return type was left 'int' because of the following compilation error: ./include/xen/kernel.h:18:21: error: comparison of distinct pointer types lacks a cast [-Werror] 18 | (void) (&_x == &_y);\ | ^~ common/page_alloc.c:1843:34: note: