summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-09-10 17:45:36 -0600
committerJens Axboe <axboe@kernel.dk>2025-09-15 09:17:24 -0600
commit1b3aa3900782707ec2f4cc1651bc82c628f25d2b (patch)
tree3d44a8965dfd66afba7e579d92323b8244134ffd
parent9adc6669a60a7ec9e5a4b2b524791b0f4b7f3e66 (diff)
io_uring/uring_cmd: correct signature for io_uring_mshot_cmd_post_cqe()
The !CONFIG_IO_URING signature is wrong, fix that up. The non stub signature got updated for the io_br_sel changes that happened before this patch went in, but the stub one did not. Fixes: 620a50c92700 ("io_uring: uring_cmd: add multishot support") Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--include/linux/io_uring/cmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/io_uring/cmd.h b/include/linux/io_uring/cmd.h
index 1350af846ddd..c8185f54fde9 100644
--- a/include/linux/io_uring/cmd.h
+++ b/include/linux/io_uring/cmd.h
@@ -126,7 +126,7 @@ io_uring_cmd_buffer_select(struct io_uring_cmd *ioucmd, unsigned buf_group,
return (struct io_br_sel) { .val = -EOPNOTSUPP };
}
static inline bool io_uring_mshot_cmd_post_cqe(struct io_uring_cmd *ioucmd,
- ssize_t ret, unsigned int issue_flags)
+ struct io_br_sel *sel, unsigned int issue_flags)
{
return true;
}