]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8c1d871713dd9c2ab4d7adf1c5808b1aa2e1975
tree050deb8b4187a2d0e0b9fa1a5f2815711f23c402
parenta7493e6ab9b207607e763bc240c34619bd2b0f53
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