various warnings from GCC 6.1

StDenis, Tom Tom.StDenis at amd.com
Tue Jul 5 14:10:15 UTC 2016


Messing up my builds :-)


drivers/gpu/drm/amd/amdgpu/kv_dpm.c:288:40: warning: 'cpl_cac_config_reg' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:283:40: warning: 'mc3_cac_config_reg' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:278:40: warning: 'mc2_cac_config_reg' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:273:40: warning: 'mc1_cac_config_reg' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:268:40: warning: 'mc0_cac_config_reg' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:263:40: warning: 'sx0_cac_config_reg' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:231:43: warning: 'cpl_local_cac_cfg_kv' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:225:43: warning: 'mc3_local_cac_cfg_kv' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:219:43: warning: 'mc2_local_cac_cfg_kv' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:213:43: warning: 'mc1_local_cac_cfg_kv' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:207:43: warning: 'mc0_local_cac_cfg_kv' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/kv_dpm.c:194:43: warning: 'sx_local_cac_cfg_kv' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/ci_dpm.c:103:36: warning: 'defaults_saturn_pro' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/ci_dpm.c:89:36: warning: 'defaults_bonaire_pro' defined but not used [-Wunused-const-variable=]
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c:220:24: warning: unused variable 'adev' [-Wunused-variable]

The KV ones were introduced last April but it seems older compilers don't warn about them.


Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20160705/18ab9f2b/attachment.html>


More information about the amd-gfx mailing list