linux/io_uring
Jens Axboe 26fed83653 io_uring/net: use the correct msghdr union member in io_sendmsg_copy_hdr
Rather than assign the user pointer to msghdr->msg_control, assign it
to msghdr->msg_control_user to make sparse happy. They are in a union
so the end result is the same, but let's avoid new sparse warnings and
squash this one.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202306210654.mDMcyMuB-lkp@intel.com/
Fixes: cac9e4418f4c ("io_uring/net: save msghdr->msg_control for retries")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-06-21 07:34:17 -06:00
..
2023-04-26 12:40:31 -07:00
2023-04-26 12:40:31 -07:00
2022-12-07 06:47:13 -07:00
2023-05-04 08:19:05 -06:00
2023-01-29 15:17:41 -07:00
2023-05-07 10:00:09 -07:00
2023-04-26 12:52:58 -07:00