]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix off by one in amdgpu_vm_handle_fault
authorChristian König <christian.koenig@amd.com>
Mon, 2 Nov 2020 16:22:35 +0000 (17:22 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Nov 2020 22:08:55 +0000 (17:08 -0500)
commit0faf29e6b7a7783ff252e3577249043bf099aff3
tree16f806d4693bcaa86145a528cfb4db34ceaacfcb
parentc9184632f342e82f5072d9c6b6325eb4d7f4510e
drm/amdgpu: fix off by one in amdgpu_vm_handle_fault

The value is inclusive, not exclusive.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c