io_uring_mshot_cmd_post_cqe() is declared with a different signature when CONFIG_IO_URING is defined than when it isn't. Match the !CONFIG_IO_URING definition's signature to the CONFIG_IO_URING one. Signed-off-by: Caleb Sander Mateos Fixes: 55dc643dd2ad ("io_uring: uring_cmd: add multishot support") --- include/linux/io_uring/cmd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/io_uring/cmd.h b/include/linux/io_uring/cmd.h index be0e29b72669..f746f6a77e96 100644 --- a/include/linux/io_uring/cmd.h +++ b/include/linux/io_uring/cmd.h @@ -122,11 +122,12 @@ io_uring_cmd_buffer_select(struct io_uring_cmd *ioucmd, unsigned buf_group, size_t *len, unsigned int issue_flags); { 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; } #endif -- 2.45.2