Skip to content

Commit 473efbc

Browse files
committed
io_uring/uring_cmd: fix __io_uring_cmd_do_in_task !CONFIG_IO_URING typo
A manual application of this patch resulted in a typo for the stub function __io_uring_cmd_do_in_task(), for the case where CONFIG_IO_URING isn't true. Fix that up. Reported-by: Klara Modin <klarasmodin@gmail.com> Fixes: df3a776 ("io_uring/uring_cmd: add io_uring_cmd_tw_t type alias") Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent c265ae7 commit 473efbc

File tree

1 file changed

+1
-2
lines changed
  • include/linux/io_uring

1 file changed

+1
-2
lines changed

include/linux/io_uring/cmd.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ static inline void io_uring_cmd_done(struct io_uring_cmd *cmd, s32 ret,
109109
{
110110
}
111111
static inline void __io_uring_cmd_do_in_task(struct io_uring_cmd *ioucmd,
112-
io_uring_tw_t task_work_cb,
113-
unsigned flags)
112+
io_uring_cmd_tw_t task_work_cb, unsigned flags)
114113
{
115114
}
116115
static inline void io_uring_cmd_mark_cancelable(struct io_uring_cmd *cmd,

0 commit comments

Comments
 (0)