Re: linux-next: build warning after merge of the block tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/15/21 3:13 AM, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the block tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:

Will get sorted, thanks for letting us know
 

> In file included from include/linux/kernel.h:15,
>                  from fs/io_uring.c:42:
> fs/io_uring.c: In function 'io_alloc_page_table':
> include/linux/minmax.h:20:28: warning: comparison of distinct pointer types lacks a cast
>    20 |  (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
>       |                            ^~
> include/linux/minmax.h:26:4: note: in expansion of macro '__typecheck'
>    26 |   (__typecheck(x, y) && __no_side_effects(x, y))
>       |    ^~~~~~~~~~~
> include/linux/minmax.h:36:24: note: in expansion of macro '__safe_cmp'
>    36 |  __builtin_choose_expr(__safe_cmp(x, y), \
>       |                        ^~~~~~~~~~
> include/linux/minmax.h:45:19: note: in expansion of macro '__careful_cmp'
>    45 | #define min(x, y) __careful_cmp(x, y, <)
>       |                   ^~~~~~~~~~~~~
> fs/io_uring.c:7095:28: note: in expansion of macro 'min'
>  7095 |   unsigned int this_size = min(size, PAGE_SIZE);
>       |                            ^~~
> 
> Introduced by commit
> 
>   9123c8ffce16 ("io_uring: add helpers for 2 level table alloc")
> 

-- 
Pavel Begunkov



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux