[PATCH] drm/amdgpu: increment queue when iterating on this variable.

2015-08-03 Thread Alex Deucher
On Sat, Aug 1, 2015 at 9:55 AM, Nicolas Iooss wrote: > gfx_v7_0_print_status contains a for loop on variable queue which does > not update this variable between each iteration. This is bug is > reported by clang while building allmodconfig LLVMLinux on x86_64: > > drivers/gpu/drm/amd/amdgpu/g

[PATCH] drm/amdgpu: increment queue when iterating on this variable.

2015-08-01 Thread Nicolas Iooss
gfx_v7_0_print_status contains a for loop on variable queue which does not update this variable between each iteration. This is bug is reported by clang while building allmodconfig LLVMLinux on x86_64: drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:5126:19: error: variable 'queue' used in loop con