vhost: missing __user tags
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 15 May 2020 15:29:53 +0000 (11:29 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 15 May 2020 15:36:31 +0000 (11:36 -0400)
commit1b0be99f1a426d9f17ced95c4118c6641a2ff13d
tree35c0c2498ce3f61193322a2994c386983247251f
parent0f8e3823c02c2e7412477dc3d49d179803c3fdfa
vhost: missing __user tags

sparse warns about converting void * to void __user *. This is not new
but only got noticed now that vhost is built on more systems.
This is just a question of __user tags missing in a couple of places,
so fix it up.

Fixes: f88949138058 ("vhost: introduce O(1) vq metadata cache")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c