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

From: Stephen Rothwell <[email-masked]>
Date: Tue, 27 Oct 2020 12:05:48 +1100

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