drm/amdgpu: fix amdgpu_res_first()
authorNirmoy Das <nirmoy.das@amd.com>
Fri, 19 Mar 2021 18:54:31 +0000 (19:54 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:38:47 +0000 (16:38 -0400)
commit15e16daa35ba15424969cccb1b0aad2b8810e761
tree6eebdf138e4bee8fd5097d666a73b850b38140a0
parenteec64a5e5d07e6e66a0c7255b4324183ed57df1a
drm/amdgpu: fix amdgpu_res_first()

Fix size comparison in the resource cursor.

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h