On Wed, Apr 09, 2025 at 08:10:01PM +0800, Ce Sun wrote:
> Fixes smatch warning:
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:6820 amdgpu_pci_slot_reset()
> warn: iterator used outside loop: 'tmp_adev'
>
> Fixes: 8ba904f54148 ("drm/amdgpu: Multi-GPU DPC recovery support")
> Thanks. This doesn't change how the code works so probably the Fixes tag isn't required. But it doesn't hurt anything either. Static checker warnings are a gray area. regards, dan carpenter
