diff options
| author | Nirmoy Das <[email protected]> | 2020-06-17 11:36:16 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-07-01 05:59:22 +0000 |
| commit | 2e5238ad107ba779b99d410f7cc601d5b3a504f0 (patch) | |
| tree | fa44f92b0b2a2704eade953a7314d5d835ff360c /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amd/smu: unify smu ppt callback macros (diff) | |
| download | kernel-2e5238ad107ba779b99d410f7cc601d5b3a504f0.tar.gz kernel-2e5238ad107ba779b99d410f7cc601d5b3a504f0.zip | |
drm/amdgpu: fix compiler warning
Fixes below warning:
drivers/gpu/drm/amd/amdgpu/df_v3_6.c: In function ‘df_v3_6_reset_perfmon_cntr’:
drivers/gpu/drm/amd/amdgpu/df_v3_6.c:571:2: warning: ‘hi_base_addr’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
571 | df_v3_6_perfmon_wreg(adev, lo_base_addr, 0, hi_base_addr, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Nirmoy Das <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
