xref: /openbmc/linux/io_uring/io_uring.h (revision de23077e)
1 #ifndef IOU_CORE_H
2 #define IOU_CORE_H
3 
4 #include <linux/errno.h>
5 #include "io_uring_types.h"
6 
7 static inline void io_req_set_res(struct io_kiocb *req, s32 res, u32 cflags)
8 {
9 	req->cqe.res = res;
10 	req->cqe.flags = cflags;
11 }
12 
13 #endif
14