Follow the kernel ABI and pass fds in an array of s32 but not just ints. Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx> --- test/rsrc_tags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rsrc_tags.c b/test/rsrc_tags.c index a3fec0c..f441b5c 100644 --- a/test/rsrc_tags.c +++ b/test/rsrc_tags.c @@ -322,7 +322,7 @@ static int test_files(int ring_flags) struct io_uring ring; const int nr = 50; int off = 5, i, ret, fd; - int files[nr]; + __s32 files[nr]; __u64 tags[nr], tag; for (i = 0; i < nr; ++i) { -- 2.33.0