From patchwork Mon Dec 2 13:36:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 11270781 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ED0AE14B7 for ; Tue, 3 Dec 2019 08:05:49 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D621A205ED for ; Tue, 3 Dec 2019 08:05:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D621A205ED Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 51FE06E400; Tue, 3 Dec 2019 08:05:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-oi1-x241.google.com (mail-oi1-x241.google.com [IPv6:2607:f8b0:4864:20::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8682589C9A for ; Mon, 2 Dec 2019 13:36:55 +0000 (UTC) Received: by mail-oi1-x241.google.com with SMTP id b8so3173652oiy.5 for ; Mon, 02 Dec 2019 05:36:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=FnsSvzvpi8rvXngynEnIF5568olLzHSROrVg8551Pdg=; b=N8GRUYVqBY6H9183C5dak6Vd38D5+I3oocA4h/tbtI4lY+Yk9ZjoMWTBPP3CwAHOt0 qyh/k/jttPdY6WaNk2+nfsetk5ifr+/DUczImneMY7oiQECluZ6gv3gXhfgVkwBf5hIj myexBKDZ1UnXzjwCfUBt7RYuWePhGKjvc3/jaaye6drQNeWv4B4OuUNkedO3yO5+TipK Esfkm9S370z7BSdqfxq593ZPc2ZKLjbNNfdfGmgswyvvBSF/pP3CMPEPbpq3ZI6DzMRd Vrv0k8esHAv1SttL6SbMW+0z61B9Y2M3Ydj8mlXL8ZGXxVzxZBaIDq/t+ODei9nfSDrO HcUA== X-Gm-Message-State: APjAAAWPmC0ERpqAyQLRcLFw6/NdghiZ3p7E15+vSDnVJAPTfX9TqP/o 2639ufTtfKN/kI4RIdKgWm8= X-Google-Smtp-Source: APXvYqx/AuYwJFFyGAocMdeJL8EwVFo4CUFiifY6rbcl8jS1D87O2ftjdbHeXTr71+6vZ58rn6UC9Q== X-Received: by 2002:aca:d6c4:: with SMTP id n187mr10999803oig.29.1575293814707; Mon, 02 Dec 2019 05:36:54 -0800 (PST) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id w2sm7666720otp.55.2019.12.02.05.36.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Dec 2019 05:36:53 -0800 (PST) From: Guenter Roeck To: Maarten Lankhorst Subject: [PATCH] drm/dp_mst: Fix build on systems with STACKTRACE_SUPPORT=n Date: Mon, 2 Dec 2019 05:36:50 -0800 Message-Id: <20191202133650.11964-1-linux@roeck-us.net> X-Mailer: git-send-email 2.17.1 X-Mailman-Approved-At: Tue, 03 Dec 2019 08:05:18 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=FnsSvzvpi8rvXngynEnIF5568olLzHSROrVg8551Pdg=; b=s4WsHbuEIV/IT4VcFl3ordMxhLT1jgk5Hd8GZEhmqL9YAU57tg6T+afCLLolAuMvp2 ga29NPZZNHQfPv0IOXQQkkStrvBUEaPZOjbnpfvh9d/krzIwQfrS14wQk7HQLEJX7PbL N/t98w7lMGw+rrqJhXKF4SCeVQwOYK5pZZvD1Z5hmIa11RjIfw4DqYfaymVpUeRqnxm7 ddiSgW6zEuy2zQpUGAAHdcPlYkv18rttoH3UHB0+Gud1/JfUzgQKjguh6r8L87rZhWv5 Qj80069/uUJD6pf9N8Cuf4t5u9sIik36fVctICHLCgH1JinJd4zKySjH9NaGFVUBRM19 hdEw== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul , Guenter Roeck MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On systems with STACKTRACE_SUPPORT=n, we get: WARNING: unmet direct dependencies detected for STACKTRACE Depends on [n]: STACKTRACE_SUPPORT Selected by [y]: - STACKDEPOT [=y] and build errors such as: m68k-linux-ld: kernel/stacktrace.o: in function `stack_trace_save': (.text+0x11c): undefined reference to `save_stack_trace' Add the missing deendency on STACKTRACE_SUPPORT. Fixes: 12a280c72868 ("drm/dp_mst: Add topology ref history tracking for debugging") Cc: Lyude Paul Cc: Sean Paul Signed-off-by: Guenter Roeck --- drivers/gpu/drm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 1168351267fd..bfdadc3667e0 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -95,6 +95,7 @@ config DRM_KMS_FB_HELPER config DRM_DEBUG_DP_MST_TOPOLOGY_REFS bool "Enable refcount backtrace history in the DP MST helpers" + depends on STACKTRACE_SUPPORT select STACKDEPOT depends on DRM_KMS_HELPER depends on DEBUG_KERNEL