drm/amdkfd: Fix sparse __rcu annotation warnings
authorFelix Kuehling <felix.kuehling@amd.com>
Wed, 3 Jan 2024 23:13:04 +0000 (18:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Jan 2024 20:44:13 +0000 (15:44 -0500)
commitc147ddc68e741aed78bba796effe049344d87ab8
tree9aef3674fbce188c4769dccce01aaef0be55ad9d
parent2a9de42e8d3c82c6990d226198602be44f43f340
drm/amdkfd: Fix sparse __rcu annotation warnings

Properly mark kfd_process->ef as __rcu and consistently use the right
accessor functions.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312052245.yFpBSgNH-lkp@intel.com/
Signed-off-by: Felix Kuehling <felix.kuehling@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_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c