Linux block layer
 help / color / mirror / Atom feed
* [PATCH] io_uring: Add missing include for ITER_SOURCE and ITER_DEST
@ 2026-08-18 18:41 Mark Brown
  2026-08-18 23:14 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2026-08-18 18:41 UTC (permalink / raw)
  To: Miklos Szeredi, Joanne Koong, Jens Axboe; +Cc: linux-block, Mark Brown

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 <broonie@kernel.org>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] io_uring: Add missing include for ITER_SOURCE and ITER_DEST
  2026-08-18 18:41 [PATCH] io_uring: Add missing include for ITER_SOURCE and ITER_DEST Mark Brown
@ 2026-08-18 23:14 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2026-08-18 23:14 UTC (permalink / raw)
  To: Miklos Szeredi, Joanne Koong, Mark Brown; +Cc: linux-block


On Tue, 18 Aug 2026 19:41:34 +0100, Mark Brown wrote:
> 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,
>       |                                ^~~~~~~~~~~
> 
> [...]

Applied, thanks!

[1/1] io_uring: Add missing include for ITER_SOURCE and ITER_DEST
      commit: 881dc9dd66d2367e7fe1be0f953a8837cb3b26a9

Best regards,
-- 
Jens Axboe




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-18 23:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-18 18:41 [PATCH] io_uring: Add missing include for ITER_SOURCE and ITER_DEST Mark Brown
2026-08-18 23:14 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox