diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-06-21 01:11:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-28 12:12:33 +0300 |
commit | eff07bf118411b9d2de8fd2f949d23c8dc24c3dc (patch) | |
tree | 299750d0218178dcf774a113535c11c90c46c4a2 /tools/kvm/kvm_stat | |
parent | 1b7b048c228effa3c66ac183811e394fa4d9a28a (diff) | |
download | linux-eff07bf118411b9d2de8fd2f949d23c8dc24c3dc.tar.xz |
io_uring/net: use the correct msghdr union member in io_sendmsg_copy_hdr
[ Upstream commit 26fed83653d0154704cadb7afc418f315c7ac1f0 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/kvm/kvm_stat')
0 files changed, 0 insertions, 0 deletions