projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9ce66
)
io_uring/net: use unsigned for flags
author
Pavel Begunkov
<asml.silence@gmail.com>
Mon, 25 Jul 2022 09:52:06 +0000
(10:52 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 25 Jul 2022 15:48:25 +0000
(09:48 -0600)
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>
io_uring/net.c
patch
|
blob
|
history
diff --git
a/io_uring/net.c
b/io_uring/net.c
index
c13d971
..
8276b95
100644
(file)
--- 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 {