diff options
author | Ce Sun <cesun102@amd.com> | 2025-04-09 14:53:11 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-04-11 23:55:55 +0300 |
commit | 732c6cefc1ecfc8de5d7a2029480798655d979d8 (patch) | |
tree | d7e5d879e047a16d12c7d60fe30580658e8b171c /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
parent | 39938a8ed979e398faa3791a47e282c82bcc6f04 (diff) | |
download | linux-732c6cefc1ecfc8de5d7a2029480798655d979d8.tar.xz |
drm/amdgpu: Replace tmp_adev with hive in amdgpu_pci_slot_reset
Checking hive is more readable.
The following smatch warning:
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:6820 amdgpu_pci_slot_reset()
warn: iterator used outside loop: 'tmp_adev'
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Ce Sun <cesun102@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions