summaryrefslogtreecommitdiff
path: root/drivers/virtio
diff options
context:
space:
mode:
authorXie Yongji <xieyongji@bytedance.com>2021-07-15 16:00:26 +0800
committerMichael S. Tsirkin <mst@redhat.com>2021-08-11 06:44:23 -0400
commitc8d182bd387a09a8b95303c8086238e8bf61fcfc (patch)
tree72d7850c0a57529db989fd03a98b1fb108c64c83 /drivers/virtio
parent1057afa0121db8bd3ca4718c8e0ca12388ab7759 (diff)
vdpa: Add documentation for vdpa_alloc_device() macro
The return value of vdpa_alloc_device() macro is not very clear, so that most of callers did the wrong check. Let's add some comments to better document it. Signed-off-by: Xie Yongji <xieyongji@bytedance.com> Link: https://lore.kernel.org/r/20210715080026.242-4-xieyongji@bytedance.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions