linux-next: build failure after merge of the block tree
Mark Brown <[email protected]>
| Newsgroups | org.kernel.vger.linux-next,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
After merging the block tree, today's linux-next build
(arm64 allnoconfig) failed like this:
In file included from /tmp/next/build/io_uring/filetable.h:5,
from /tmp/next/build/io_uring/openclose.c:17:
/tmp/next/build/include/linux/io_uring_types.h:56:32: error: 'ITER_DEST'
undeclared here (not in a function)
56 | IO_BUF_DEST = 1 << ITER_DEST,
| ^~~~~~~~~
/tmp/next/build/include/linux/io_uring_types.h:57:32: error: 'ITER_SOURCE'
undeclared here (not in a function)
57 | IO_BUF_SOURCE = 1 << ITER_SOURCE,
| ^~~~~~~~~~~
make[4]: *** [/tmp/next/build/scripts/Makefile.build:290:
io_uring/openclose.o] Error 1 make[4]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/include/linux/io_uring/cmd.h:6,
from /tmp/next/build/io_uring/uring_cmd.c:5:
/tmp/next/build/include/linux/io_uring_types.h:56:32: error: 'ITER_DEST'
undeclared here (not in a function)
56 | IO_BUF_DEST = 1 << ITER_DEST,
| ^~~~~~~~~
/tmp/next/build/include/linux/io_uring_types.h:57:32: error: 'ITER_SOURCE'
undeclared here (not in a function)
57 | IO_BUF_SOURCE = 1 << ITER_SOURCE,
| ^~~~~~~~~~~
make[4]: *** [/tmp/next/build/scripts/Makefile.build:290:
io_uring/uring_cmd.o] Error 1 In file included from
/tmp/next/build/include/linux/io_uring/cmd.h:6,
from /tmp/next/build/io_uring/opdef.c:10:
/tmp/next/build/include/linux/io_uring_types.h:56:32: error: 'ITER_DEST'
undeclared here (not in a function)
56 | IO_BUF_DEST = 1 << ITER_DEST,
| ^~~~~~~~~
/tmp/next/build/include/linux/io_uring_types.h:57:32: error: 'ITER_SOURCE'
undeclared here (not in a function)
57 | IO_BUF_SOURCE = 1 << ITER_SOURCE,
| ^~~~~~~~~~~
make[4]: *** [/tmp/next/build/scripts/Makefile.build:290:
io_uring/opdef.o] Error 1 In file included
from /tmp/next/build/io_uring/eventfd.c:9:
/tmp/next/build/include/linux/io_uring_types.h:56:32: error: 'ITER_DEST'
undeclared here (not in a function)
56 | IO_BUF_DEST = 1 << ITER_DEST,
| ^~~~~~~~~
/tmp/next/build/include/linux/io_uring_types.h:57:32: error: 'ITER_SOURCE'
undeclared here (not in a function)
57 | IO_BUF_SOURCE = 1 << ITER_SOURCE,
| ^~~~~~~~~~~
make[4]: *** [/tmp/next/build/scripts/Makefile.build:290:
io_uring/eventfd.o] Error 1 In file included from
/tmp/next/build/io_uring/filetable.h:5,
from /tmp/next/build/io_uring/splice.c:14:
/tmp/next/build/include/linux/io_uring_types.h:56:32: error: 'ITER_DEST'
undeclared here (not in a function)
56 | IO_BUF_DEST = 1 << ITER_DEST,
| ^~~~~~~~~
/tmp/next/build/include/linux/io_uring_types.h:57:32: error: 'ITER_SOURCE'
undeclared here (not in a function)
57 | IO_BUF_SOURCE = 1 << ITER_SOURCE,
| ^~~~~~~~~~~
make[4]: *** [/tmp/next/build/scripts/Makefile.build:290:
io_uring/splice.o] Error 1 In file included from
/tmp/next/build/include/trace/events/io_uring.h:10,
from /tmp/next/build/io_uring/timeout.c:8:
/tmp/next/build/include/linux/io_uring_types.h:56:32: error: 'ITER_DEST'
undeclared here (not in a function)
56 | IO_BUF_DEST = 1 << ITER_DEST,
| ^~~~~~~~~
/tmp/next/build/include/linux/io_uring_types.h:57:32: error: 'ITER_SOURCE'
undeclared here (not in a function)
57 | IO_BUF_SOURCE = 1 << ITER_SOURCE,
| ^~~~~~~~~~~
make[4]: *** [/tmp/next/build/scripts/Makefile.build:290:
io_uring/timeout.o] Error 1 In file included from
/tmp/next/build/io_uring/filetable.h:5,
from /tmp/next/build/io_uring/cancel.c:12:
/tmp/next/build/include/linux/io_uring_types.h:56:32: error: 'ITER_DEST'
undeclared here (not in a function)
56 | IO_BUF_DEST = 1 << ITER_DEST,
| ^~~~~~~~~
/tmp/next/build/include/linux/io_uring_types.h:57:32: error: 'ITER_SOURCE'
undeclared here (not in a function)
57 | IO_BUF_SOURCE = 1 << ITER_SOURCE,
| ^~~~~~~~~~~
make[4]: *** [/tmp/next/build/scripts/Makefile.build:290:
io_uring/cancel.o] Error 1 In file included from
/tmp/next/build/include/trace/events/io_uring.h:10,
from /tmp/next/build/io_uring/wait.c:10:
/tmp/next/build/include/linux/io_uring_types.h:56:32: error: 'ITER_DEST'
undeclared here (not in a function)
56 | IO_BUF_DEST = 1 << ITER_DEST,
| ^~~~~~~~~
/tmp/next/build/include/linux/io_uring_types.h:57:32: error: 'ITER_SOURCE'
undeclared here (not in a function)
57 | IO_BUF_SOURCE = 1 << ITER_SOURCE,
| ^~~~~~~~~~~
make[4]: *** [/tmp/next/build/scripts/Makefile.build:290:
io_uring/wait.o] Error 1 In file included from
/tmp/next/build/include/trace/events/io_uring.h:10,
from /tmp/next/build/io_uring/poll.c:12:
/tmp/next/build/include/linux/io_uring_types.h:56:32: error: 'ITER_DEST'
undeclared here (not in a function)
56 | IO_BUF_DEST = 1 << ITER_DEST,
| ^~~~~~~~~
/tmp/next/build/include/linux/io_uring_types.h:57:32: error: 'ITER_SOURCE'
undeclared here (not in a function)
57 | IO_BUF_SOURCE = 1 << ITER_SOURCE,
| ^~~~~~~~~~~
Caused by commit
95961b72c57b2 (io_uring/rsrc: rename and export IO_IMU_DEST / IO_IMU_SOURCE)
from the fuse tree interacting with something in the block tree. I have
applied the fixup below for today and can carry as needed:
From 227fd8e91f19230683755e9a191e23c7dbfacaab Mon Sep 17 00:00:00 2001
From: Mark Brown <[email protected]>
Date: Tue, 18 Aug 2026 19:36:17 +0100
Subject: [PATCH] io_uring: Add missing include for ITER_SOURCE and ITER_DEST
Fix IWYU issues:
/tmp/next/build/include/linux/io_uring_types.h:56:32: error: 'ITER_DEST'
undeclared here (not in a function)
56 | IO_BUF_DEST = 1 << ITER_DEST,
| ^~~~~~~~~
/tmp/next/build/include/linux/io_uring_types.h:57:32: error: 'ITER_SOURCE'
undeclared here (not in a function)
57 | IO_BUF_SOURCE = 1 << ITER_SOURCE,
| ^~~~~~~~~~~
Fixes: 95961b72c57b2 ("io_uring/rsrc: rename and export IO_IMU_DEST / IO_IMU_SOURCE")
Signed-off-by: Mark Brown <[email protected]>
---
include/linux/io_uring_types.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/io_uring_types.h b/include/linux/io_uring_types.h
index b516d9feb0f14..39629ee77b911 100644
--- a/include/linux/io_uring_types.h
+++ b/include/linux/io_uring_types.h
@@ -6,6 +6,7 @@
#include <linux/task_work.h>
#include <linux/bitmap.h>
#include <linux/llist.h>
+#include <linux/uio.h>
#include <uapi/linux/io_uring.h>
struct iou_loop_params;
--
2.47.3
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmqEp4AACgkQJNaLcl1U h9CIJwf/dx2nmJgcCD5aFi1rQhSOyxAOfpzqTa7V8JBf8j0SyVm+OUxgYokawYrp n1cy3duPOMRFwsTW884PEYq2LwBkXBXPZOHVVbovLzlobD3InrUNdvXhBZg545Lz R8VLy0t9DowFOMPbyBZVDzw9B0DfdxLJxnQZipJ5I7+vvnBvbU0b1pnLYLaeQME8 ZiAFT70BWpUXaXn7LT8Yq6ljAZKU+Hg/2Nzn82Tj+8XMlqLGJF/jWDfiISwh9H/s zL8yoYp/m0Bb2fTtMlV9C8z7EHT1I4ooQlaqFZI8wqi0psKvEo3TvnWk2hRUymtY xvsohDVFCDuHeNnIoFdlZ8BQ6ABzKQ== =VK0O -----END PGP SIGNATURE-----