aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorXie Yongji <[email protected]>2021-07-15 16:00:26 +0800
committerMichael S. Tsirkin <[email protected]>2021-08-11 06:44:23 -0400
commitc8d182bd387a09a8b95303c8086238e8bf61fcfc (patch)
tree72d7850c0a57529db989fd03a98b1fb108c64c83 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions