Re: [PATCH 2/2] drm/amdgpu: Move clocks closer to its only usage in amdgpu_parse_cg_state()

2023-06-15 Thread Alex Deucher
Applied the series. Thanks! Alex On Thu, Jun 15, 2023 at 1:06 PM Nathan Chancellor wrote: > > After commit a25a9dae2067 ("drm/amd/amdgpu: enable W=1 for amdgpu"), > there is an instance of -Wunused-const-variable when CONFIG_DEBUG_FS is > disabled: > > drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_

[PATCH 2/2] drm/amdgpu: Move clocks closer to its only usage in amdgpu_parse_cg_state()

2023-06-15 Thread Nathan Chancellor
After commit a25a9dae2067 ("drm/amd/amdgpu: enable W=1 for amdgpu"), there is an instance of -Wunused-const-variable when CONFIG_DEBUG_FS is disabled: drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c:38:34: error: unused variable 'clocks' [-Werror,-Wunused-const-variable] 38 | static const str