]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix indentation in commit_planes_for_stream()
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Thu, 1 Sep 2022 14:15:10 +0000 (10:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Sep 2022 19:12:57 +0000 (15:12 -0400)
commitefdaa4c9936ba1c3c2e5a1e5dfb668b183686cd3
tree0764c834429337d65ab2fb1226303cd3a04783be
parentac0e80e80b25c7abef691e01451197a581f689a6
drm/amd/display: fix indentation in commit_planes_for_stream()

Address the following warning:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3508:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 3508 |         if (update_type != UPDATE_TYPE_FAST)
      |         ^~
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3510:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 3510 |                 if (update_type != UPDATE_TYPE_FAST)
      |                 ^~

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c