]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
io_uring/uring_cmd: correct signature for io_uring_mshot_cmd_post_cqe()
authorJens Axboe <axboe@kernel.dk>
Wed, 10 Sep 2025 23:45:36 +0000 (17:45 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Sep 2025 15:17:24 +0000 (09:17 -0600)
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>
include/linux/io_uring/cmd.h

index 1350af846ddd276da9234b6a29e1635eb2098f73..c8185f54fde9df23a0e319765047b301d19fa00f 100644 (file)
@@ -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;
 }