Re: [PATCH v8 03/17] xen/bitops: implement fls{l}() in common logic

2024-04-26 Thread Jan Beulich
On 26.04.2024 14:09, Oleksii wrote: > On Fri, 2024-04-26 at 12:51 +0200, Jan Beulich wrote: >> On 26.04.2024 10:21, Oleksii wrote: >>> On Thu, 2024-04-25 at 17:44 +0200, Jan Beulich wrote: On 17.04.2024 12:04, Oleksii Kurochko wrote: > Return type was left 'int' because of the following

Re: [PATCH v8 03/17] xen/bitops: implement fls{l}() in common logic

2024-04-26 Thread Oleksii
On Fri, 2024-04-26 at 12:51 +0200, Jan Beulich wrote: > On 26.04.2024 10:21, Oleksii wrote: > > On Thu, 2024-04-25 at 17:44 +0200, Jan Beulich wrote: > > > On 17.04.2024 12:04, Oleksii Kurochko wrote: > > > > Return type was left 'int' because of the following compilation > > > > error: > > > > >

Re: [PATCH v8 03/17] xen/bitops: implement fls{l}() in common logic

2024-04-26 Thread Jan Beulich
On 26.04.2024 10:21, Oleksii wrote: > On Thu, 2024-04-25 at 17:44 +0200, Jan Beulich wrote: >> On 17.04.2024 12:04, 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 >>>

Re: [PATCH v8 03/17] xen/bitops: implement fls{l}() in common logic

2024-04-26 Thread Oleksii
On Thu, 2024-04-25 at 17:44 +0200, Jan Beulich wrote: > On 17.04.2024 12:04, 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] > >  

Re: [PATCH v8 03/17] xen/bitops: implement fls{l}() in common logic

2024-04-25 Thread Jan Beulich
On 17.04.2024 12:04, 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 v8 03/17] xen/bitops: implement fls{l}() in common logic

2024-04-17 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: