drm/amd/display: cleanup inconsistent indenting in amdgpu_dm_color
Subsystems (3)
PATCH 1/1 drm/amd/display: cleanup inconsistent indenting in amdgpu_dm_color
smatch warnings:amdgpu_dm_update_plane_color_mgmt() warn: inconsistent indenting
Reported-by kernel test robot <[email protected]>
Signed-off-by Melissa Wen <[email protected]>
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c +1 -1
@@ -1239,7 +1239,7 @@ int amdgpu_dm_update_plane_color_mgmt(struct dm_crtc_state *crtc,if (has_crtc_cm_degamma && ret != -EINVAL ) {drm_dbg_kms (crtc->base.crtc->dev,"doesn't support plane and CRTC degamma at the same time\n" ); -return -EINVAL ; +return -EINVAL ; }/* If we are here, it means we don't have plane degamma settings, check
Signature · 1 line
2.43.0
Quoted 15 lines · Melissa Wen
smatch warnings:
amdgpu_dm_update_plane_color_mgmt()warn: inconsistent indentingReported-by kernel test robot <[email protected]>Signed-off-by Melissa Wen <[email protected]>--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c +0
-0
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c int amdgpu_dm_update_plane_color_mgmt(struct dm_crtc_state *crtc, · line 1245
Quoted 8 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c +1
-1@@ -1239,7 +1239,7 @@ int amdgpu_dm_update_plane_color_mgmt(struct dm_crtc_state *crtc,if (has_crtc_cm_degamma && ret != -EINVAL ) {drm_dbg_kms (crtc->base.crtc->dev,"doesn't support plane and CRTC degamma at the same time\n" ); -return -EINVAL ; +return -EINVAL ; }/* If we are here, it means we don't have plane degamma settings, check
Reviewed-by Rodrigo Siqueira <[email protected]>
Change also applied to asdn.
Thanks
Siqueira