Skip to content

Commit 1b3aa39

Browse files
committed
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: 620a50c ("io_uring: uring_cmd: add multishot support") Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 9adc666 commit 1b3aa39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • include/linux/io_uring

include/linux/io_uring/cmd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ io_uring_cmd_buffer_select(struct io_uring_cmd *ioucmd, unsigned buf_group,
126126
return (struct io_br_sel) { .val = -EOPNOTSUPP };
127127
}
128128
static inline bool io_uring_mshot_cmd_post_cqe(struct io_uring_cmd *ioucmd,
129-
ssize_t ret, unsigned int issue_flags)
129+
struct io_br_sel *sel, unsigned int issue_flags)
130130
{
131131
return true;
132132
}

0 commit comments

Comments
 (0)