diff options
author | Harry Wentland <harry.wentland@amd.com> | 2017-10-26 09:17:42 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-11-14 19:32:46 +0300 |
commit | 82e9781053c8a6aa3515aea3ade76546afb4c082 (patch) | |
tree | 91b7352f55cd30f10cc21cf83d901ffa386c41f8 /drivers/gpu/drm/amd/display | |
parent | 524bed9a2b9f7d7f9aa5f62547b1faec2f9bab35 (diff) | |
download | linux-82e9781053c8a6aa3515aea3ade76546afb4c082.tar.xz |
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/drm/amd/display')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 2 |
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, ¶m); if (mi != NULL && mi->funcs->set_cursor_position != NULL) |