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

2024-03-20 Thread Jan Beulich
On 15.03.2024 19:06, Oleksii Kurochko wrote: > 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);\ > |

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

2024-03-15 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: