]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
io_uring/uring_cmd: fix __io_uring_cmd_do_in_task !CONFIG_IO_URING typo
authorJens Axboe <axboe@kernel.dk>
Mon, 8 Sep 2025 14:18:15 +0000 (08:18 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Sep 2025 14:18:15 +0000 (08:18 -0600)
A manual application of this patch resulted in a typo for the stub
function __io_uring_cmd_do_in_task(), for the case where CONFIG_IO_URING
isn't true. Fix that up.

Reported-by: Klara Modin <klarasmodin@gmail.com>
Fixes: df3a7762ee24 ("io_uring/uring_cmd: add io_uring_cmd_tw_t type alias")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring/cmd.h

index 50dd6a53cb5ed4ac583529bde0d9bb721a5875ef..1350af846ddd276da9234b6a29e1635eb2098f73 100644 (file)
@@ -109,8 +109,7 @@ static inline void io_uring_cmd_done(struct io_uring_cmd *cmd, s32 ret,
 {
 }
 static inline void __io_uring_cmd_do_in_task(struct io_uring_cmd *ioucmd,
-                           io_uring_tw_t task_work_cb,
-                           unsigned flags)
+                           io_uring_cmd_tw_t task_work_cb, unsigned flags)
 {
 }
 static inline void io_uring_cmd_mark_cancelable(struct io_uring_cmd *cmd,