]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: fix io_recvmsg_prep_multishot sparse warnings
authorDylan Yudaken <dylany@fb.com>
Fri, 5 Aug 2022 11:54:50 +0000 (04:54 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Aug 2022 14:41:18 +0000 (08:41 -0600)
commite521b0abdb94d01b4ca991d401b995a7b91fa42b
treed4db983c3eff7f50a9afaba5c799581d3083d3a0
parent1b11f6670ef4dc60597374e7e6e5c6d685cfda05
io_uring: fix io_recvmsg_prep_multishot sparse warnings

Fix casts missing the __user parts. This seemed to only cause errors on
the alpha build, or if checked with sparse, but it was definitely an
oversight.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 8d4d73328bf3 ("io_uring: support multishot in recvmsg")
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220805115450.3921352-1-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c