From: Jens Axboe Date: Wed, 10 Sep 2025 23:45:36 +0000 (-0600) Subject: io_uring/uring_cmd: correct signature for io_uring_mshot_cmd_post_cqe() X-Git-Tag: v6.18-rc1~137^2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b3aa3900782707ec2f4cc1651bc82c628f25d2b;p=thirdparty%2Flinux.git 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 --- diff --git a/include/linux/io_uring/cmd.h b/include/linux/io_uring/cmd.h index 1350af846ddd2..c8185f54fde9d 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; }