2020-01-16 03:06:00

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the block tree

Hi all,

After merging the block tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

fs/io_uring.c: In function '__io_sqe_files_update':
fs/io_uring.c:5567:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
5567 | fds = (__s32 __user *) up->fds;
| ^

Introduced by commit

813668c6099b ("io_uring: avoid ring quiesce for fixed file set unregister and update")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2020-01-16 05:23:55

by Jens Axboe

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the block tree

On 1/15/20 5:54 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the block tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> fs/io_uring.c: In function '__io_sqe_files_update':
> fs/io_uring.c:5567:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> 5567 | fds = (__s32 __user *) up->fds;
> | ^
>
> Introduced by commit
>
> 813668c6099b ("io_uring: avoid ring quiesce for fixed file set unregister and update")

Fixed up, thanks.

--
Jens Axboe