Skip to content
Commit 0ab4b890 authored by Tian Tao's avatar Tian Tao Committed by Michael S. Tsirkin
Browse files

vhost_vdpa: switch to vmemdup_user()



Replace opencoded alloc and copy with vmemdup_user()

Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Link: https://lore.kernel.org/r/1605057288-60400-1-git-send-email-tiantao6@hisilicon.com


Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
parent 3711387a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment