Re: [PATCH 2/2] drm/amdgpu/gfx11: Avoid uninitialised variable 'index'

2022-05-04 Thread Alex Deucher
Applied the series. Thanks! Alex On Wed, May 4, 2022 at 6:24 PM Mike Lothian wrote: > > This stops clang complaining: > > drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:376:6: warning: variable 'index' is > used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] > if (ri

[PATCH 2/2] drm/amdgpu/gfx11: Avoid uninitialised variable 'index'

2022-05-04 Thread Mike Lothian
This stops clang complaining: drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:376:6: warning: variable 'index' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (ring->is_mes_queue) { ^~ drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:433:30: n