drm/amd/display: Fix formatting for null pointer dereference fix
authorHarry Wentland <harry.wentland@amd.com>
Thu, 26 Oct 2017 06:17:42 +0000 (11:47 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Nov 2017 16:32:46 +0000 (11:32 -0500)
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c

index de04b95e103a8daaf9fbf808b5c215053dcb482e..b00a6040a69746e24b1291ae9250e225b0290e68 100644 (file)
@@ -288,7 +288,7 @@ bool dc_stream_set_cursor_position(
                        pos_cpy.enable = false;
 
 
-               if (ipp !=NULL && ipp->funcs->ipp_cursor_set_position != NULL)
+               if (ipp != NULL && ipp->funcs->ipp_cursor_set_position != NULL)
                        ipp->funcs->ipp_cursor_set_position(ipp, &pos_cpy, &param);
 
                if (mi != NULL && mi->funcs->set_cursor_position != NULL)