[PATCHv2 5/6][SRU][Bionic] drm/amd/display: Fix warning about misaligned code

Dan Streetman dan.streetman at canonical.com
Mon Feb 11 13:31:06 UTC 2019


From: Harry Wentland <harry.wentland at amd.com>

BugLink: https://bugs.launchpad.net/bugs/1814308

Signed-off-by: Harry Wentland <harry.wentland at amd.com>
Reviewed-by: Charlene Liu <charlene.liu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
(cherry picked from commit f3b72c7b00bd36773005e1bfea6b2bb558eb254f)
Signed-off-by: Dan Streetman <ddstreet at canonical.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc_link.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index e384902e70ce..ef637e78b9c4 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -2427,8 +2427,8 @@ void core_link_enable_stream(
 	if (pipe_ctx->stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST)
 		allocate_mst_payload(pipe_ctx);
 
-		core_dc->hwss.unblank_stream(pipe_ctx,
-			&pipe_ctx->stream->sink->link->cur_link_settings);
+	core_dc->hwss.unblank_stream(pipe_ctx,
+		&pipe_ctx->stream->sink->link->cur_link_settings);
 }
 
 void core_link_disable_stream(struct pipe_ctx *pipe_ctx, int option)
-- 
2.20.1




More information about the kernel-team mailing list