blob: 002d08ab58e562daab8c7dfb7bd4be5bdcb38165 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From d6a959ceea21f9de70df21a4d2493928da6a18f5 Mon Sep 17 00:00:00 2001
From: Harry Wentland <harry.wentland@amd.com>
Date: Thu, 26 Oct 2017 11:47:42 +0530
Subject: [PATCH 2813/4131] 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>
---
drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 f561232..1efa5b6 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
@@ -285,7 +285,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)
--
2.7.4
|