Skip to content

Commit

Permalink
drm/amd/display: Fix formatting for null pointer dereference fix
Browse files Browse the repository at this point in the history
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Harry Wentland authored and Alex Deucher committed Nov 14, 2017
1 parent 524bed9 commit 82e9781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/core/dc_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 82e9781

Please sign in to comment.