drm/amd/display: clean up some inconsistent indentings
Subsystems (3)
PATCH 1/1 drm/amd/display: clean up some inconsistent indentings
This if statement is the content of the for statement above it. It should be indented.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c +2 -2
@@ -417,8 +417,8 @@ void get_subvp_visual_confirm_color(for (i =0 ; i < dc->res_pool->pipe_count; i++) {struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; -if (pipe->stream && pipe->stream->mall_stream_config.paired_stream && - pipe->stream->mall_stream_config.type ==SUBVP_MAIN ) { +if (pipe->stream && pipe->stream->mall_stream_config.paired_stream && + pipe->stream->mall_stream_config.type ==SUBVP_MAIN ) {/* SubVP enable - red */ color->color_r_cr = color_value; enable_subvp = true;
Signature · 1 line
2.20.1.7.g153144c
Alex Deucher
AppliedApplied. Thanks!
Alex
Quoted 29 lines · Yang Li
This if statement is the content of the for statement above it. It should be indented.
Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c +2
-3@@ -417,8 +417,8 @@ void get_subvp_visual_confirm_color(for (i =0 ; i < dc->res_pool->pipe_count; i++) {struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; -if (pipe->stream && pipe->stream->mall_stream_config.paired_stream && - pipe->stream->mall_stream_config.type ==SUBVP_MAIN ) { +if (pipe->stream && pipe->stream->mall_stream_config.paired_stream && + pipe->stream->mall_stream_config.type ==SUBVP_MAIN ) {/* SubVP enable - red */ color->color_r_cr = color_value; enable_subvp = true; --2.20.1.7.g153144c