diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/1202-drm-amd-dal-Do-not-dereference-NULL-sink-at-the-end-.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/1202-drm-amd-dal-Do-not-dereference-NULL-sink-at-the-end-.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/common/recipes-kernel/linux/files/1202-drm-amd-dal-Do-not-dereference-NULL-sink-at-the-end-.patch b/common/recipes-kernel/linux/files/1202-drm-amd-dal-Do-not-dereference-NULL-sink-at-the-end-.patch deleted file mode 100644 index b3de9a0f..00000000 --- a/common/recipes-kernel/linux/files/1202-drm-amd-dal-Do-not-dereference-NULL-sink-at-the-end-.patch +++ /dev/null @@ -1,42 +0,0 @@ -From b3a48caa78dc20577f84fd2a3013e6e2f9fc57c5 Mon Sep 17 00:00:00 2001 -From: David Rokhvarg <David.Rokhvarg@amd.com> -Date: Thu, 17 Dec 2015 15:02:29 -0500 -Subject: [PATCH 1202/1565] drm/amd/dal: Do not dereference NULL sink at the - end of sink detection. - -While printing detection results for Disconnect case a null sink pointer -was dereferenced. - -Change-Id: Ifa07ca1c5ddd081cf456ee8bc067b1bdbe3c1c7a -Signed-off-by: David Rokhvarg <David.Rokhvarg@amd.com> -Acked-by: Jordan Lazare <Jordan.Lazare@amd.com> ---- - drivers/gpu/drm/amd/dal/dc/core/dc_link.c | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c -index add76ca..d4b1085 100644 ---- a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c -+++ b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c -@@ -647,11 +647,13 @@ void dc_link_detect(const struct dc_link *dc_link) - link_disconnect_all_sinks(link); - } - -- LINK_INFO("link=%d, dc_sink_in=%p is now %s\n", -- link->link_index, &sink->public, -- (signal == SIGNAL_TYPE_NONE ? "Disconnected":"Connected")); -- -- /* TODO: */ -+ if (signal == SIGNAL_TYPE_NONE) { -+ LINK_INFO("link=%d is now Disconnected.\n", -+ link->link_index); -+ } else { -+ LINK_INFO("link=%d is now Connected. Sink ptr=%p Signal=%d\n", -+ link->link_index, &sink->public, signal); -+ } - - return; - } --- -1.9.1 - |