Skip to contentSkip to conversation

linux-next: build warning after merge of the amdgpu tree

DISCUSSION Stephen Rothwell 1 participant 1 message Apr 23, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the amdgpu tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function 'gfx_v8_0_ring_emit_rreg':
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:6396:21: warning: unused variable 'kiq' [-Wunused-variable]
6396 | struct amdgpu_kiq *kiq = &adev->gfx.kiq;
| ^~~
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c: In function 'gfx_v10_0_ring_emit_rreg':
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:7608:21: warning: unused variable 'kiq' [-Wunused-variable]
7608 | struct amdgpu_kiq *kiq = &adev->gfx.kiq;
| ^~~

Introduced by commit

5e25f26086f6 ("drm/amdgpu: request reg_val_offs each kiq read reg")

Signature · 2 lines
Cheers,
Stephen Rothwell