Просмотр исходного кода

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>
Harry Wentland 8 лет назад
Родитель
Сommit
82e9781053
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      drivers/gpu/drm/amd/display/dc/core/dc_stream.c

+ 1 - 1
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)