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

From: Stephen Rothwell
Date: Mon Oct 26 2020 - 21:05:53 EST


Hi all,

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

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'amdgpu_dm_init':
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:947:34: warning: unused variable 'pa_config' [-Wunused-variable]
947 | struct dc_phy_addr_space_config pa_config;
| ^~~~~~~~~
At top level:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:888:13: warning: 'mmhub_read_system_context' defined but not used [-Wunused-function]
888 | static void mmhub_read_system_context(struct amdgpu_device *adev, struct dc_phy_addr_space_config *pa_config)
| ^~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

0b08c54bb7a3 ("drm/amd/display: Fix the display corruption issue on Navi10")

--
Cheers,
Stephen Rothwell

Attachment: pgp9C37RpgFwH.pgp
Description: OpenPGP digital signature