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>
This commit is contained in:
Harry Wentland 2017-10-26 11:47:42 +05:30 committed by Alex Deucher
parent 524bed9a2b
commit 82e9781053
1 changed files with 1 additions and 1 deletions

View 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)