vhost: add missing __user annotations
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 6 Dec 2016 04:01:41 +0000 (06:01 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 04:59:18 +0000 (06:59 +0200)
commit72952cc0614b61650b2b13f57752a6dd82cbeae5
tree050deb8b4187a2d0e0b9fa1a5f2815711f23c402
parent2f952c0105d14bd46bb6d6a3cc03ad789a381228
vhost: add missing __user annotations

Several vhost functions were missing __user annotations
on pointers, causing sparse warnings. Fix this up.

sparse also warns about vhost_process_iotlb_msg which
is local and should be static. Fix that up as well.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c