summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-07-25 12:52:06 +0300
committerJens Axboe <axboe@kernel.dk>2022-07-25 18:48:25 +0300
commit293402e564a7391f38541c7694e736f5fde20aea (patch)
treef0179c4c10f010e0f2b8f437b9fd75874b6f6519 /io_uring
parent6a9ce66f4d0872861e0bbc67eee6ce5dca5dd886 (diff)
downloadlinux-293402e564a7391f38541c7694e736f5fde20aea.tar.xz
io_uring/net: use unsigned for flags
Use unsigned int type for msg flags. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/5cfaed13d3191337b14b8664ca68b515d9e2d1b4.1658742118.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-rw-r--r--io_uring/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_uring/net.c b/io_uring/net.c
index c13d971c7826..8276b9537194 100644
--- a/io_uring/net.c
+++ b/io_uring/net.c
@@ -55,10 +55,10 @@ struct io_sr_msg {
struct user_msghdr __user *umsg;
void __user *buf;
};
- int msg_flags;
+ unsigned msg_flags;
+ unsigned flags;
size_t len;
size_t done_io;
- unsigned int flags;
};
struct io_sendzc {