diff --git a/io_uring/kbuf.h b/io_uring/kbuf.h index 2ed141d7662e13b8d7142ac0a4b0cc31c7a797dd..ab30aa13fb5eeb92c744f467498f4fcc727fcf43 100644 --- a/io_uring/kbuf.h +++ b/io_uring/kbuf.h @@ -56,8 +56,8 @@ struct buf_sel_arg { struct iovec *iovs; size_t out_len; size_t max_len; - int nr_iovs; - int mode; + unsigned short nr_iovs; + unsigned short mode; }; void __user *io_buffer_select(struct io_kiocb *req, size_t *len,