summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-10-26 11:47:42 +0530
committerAlex Deucher <alexander.deucher@amd.com>2017-11-14 11:32:46 -0500
commit82e9781053c8a6aa3515aea3ade76546afb4c082 (patch)
tree91b7352f55cd30f10cc21cf83d901ffa386c41f8 /drivers/gpu
parent524bed9a2b9f7d7f9aa5f62547b1faec2f9bab35 (diff)
downloadlinux-82e9781053c8a6aa3515aea3ade76546afb4c082.tar.bz2
drm/amd/display: Fix formatting for null pointer dereference fix
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
index de04b95e103a..b00a6040a697 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
@@ -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)