aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorXie Yongji <[email protected]>2021-07-28 21:07:56 +0800
committerMichael S. Tsirkin <[email protected]>2021-08-11 06:44:15 -0400
commitf7ad318ea0ad58ebe0e595e59aed270bb643b29b (patch)
tree1f9b72676673a8a42c252b8947fd26f59b789388 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent0e398290cff997610b66e73573faaee70c9a700e (diff)
vhost: Fix the calculation in vhost_overflow()
This fixes the incorrect calculation for integer overflow when the last address of iova range is 0xffffffff. Fixes: ec33d031a14b ("vhost: detect 32 bit integer wrap around") Reported-by: Jason Wang <[email protected]> Signed-off-by: Xie Yongji <[email protected]> Acked-by: Jason Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions