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)
commit19201c075d2ca6a58421aa1f22281977e84ae17f
tree16f806d4693bcaa86145a528cfb4db34ceaacfcb
parent413949ee1cdb9128b542a3c501686a883aec940f
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