• Tom Rix's avatar
    drm/amd/display: set variables dml*_funcs storage-class-specifier to static · 94aec514
    Tom Rix authored
    smatch reports
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.c:44:24: warning: symbol
      'dml20_funcs' was not declared. Should it be static?
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.c:51:24: warning: symbol
      'dml20v2_funcs' was not declared. Should it be static?
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.c:58:24: warning: symbol
      'dml21_funcs' was not declared. Should it be static?
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.c:65:24: warning: symbol
      'dml30_funcs' was not declared. Should it be static?
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.c:72:24: warning: symbol
      'dml31_funcs' was not declared. Should it be static?
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.c:79:24: warning: symbol
      'dml314_funcs' was not declared. Should it be static?
    drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.c:86:24: warning: symbol
      'dml32_funcs' was not declared. Should it be static?
    
    These variables are only used in one file so should be static.
    Cleanup whitespace, use tabs consistently for indents.
    Signed-off-by: default avatarTom Rix <trix@redhat.com>
    Signed-off-by: default avatarHamza Mahfooz <hamza.mahfooz@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    94aec514
display_mode_lib.c 19.7 KB