linux-next: build warning after merge of the amdgpu tree
From: Stephen Rothwell
Date: Wed Apr 22 2020 - 22:24:32 EST
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")
--
Cheers,
Stephen Rothwell
Attachment:
pgpE2O4YkVqZ0.pgp
Description: OpenPGP digital signature