Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1590131ybl; Mon, 2 Dec 2019 05:39:33 -0800 (PST) X-Google-Smtp-Source: APXvYqzbRynSKgxLo3NWrViOG+rwoB8IO/hQC4ZoUyNSOC817oCChtf2haDvHhOPTHWy9PvGFGM/ X-Received: by 2002:a50:f38e:: with SMTP id g14mr12998220edm.168.1575293973680; Mon, 02 Dec 2019 05:39:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575293973; cv=none; d=google.com; s=arc-20160816; b=e+akp8X0YhkTVeKiSSccJsrAXpMA9qPbxEhrSyJ/RHQA9+qjMLlvIbBC7GvUGtSN+O s8NKDU3moxr6WFGFMsxIlpggEVXFkkeST4/TInKxVrjx1QmG9zqc/F0pAovNhdu9KcWk sOWaVkY53ExUp1L6gXl9sd5BVF4FNW50gFBAuaW/5eHgyMLoeruOu7f3uPptydjyCmnv NKvUcVPd98QW8CSMeHtKJt+kfyKpCnxXzOqry5IzLr99qq4VX0aSkFlQJb60Ub4mO+r2 jsi1y/YOLEZ2Gsr8hstWAIR42rt//cfN9soVJk5YUIGUPnSEAIsrAcycEOaLEf/87XHZ 8aGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=FnsSvzvpi8rvXngynEnIF5568olLzHSROrVg8551Pdg=; b=SCwjXLJqttzsylyqVeOULqHHSPEIIfreBaQpsL/07tAv574BAAEotSkyaxFPtuZs4I ggXJmU+TQL9UldiPHXoXmADfBEGEUCxR0jjgH60CZI21qRJez66KEiYw+71JsM5C0LUT 2dYFXoRID7RKkHGHxSi7CI+fh2PelWBKwtnt5JB8quvnMxN7uczYVBFT/2GiAsWns1pQ OetDGoUtyuPuSulgXt8EvgIKx0nCHs62TojIdZgZ4teP0c4E9RKuy4o1iW2w9WT5MEDk ZUagEzUDtQxQrBeGl5Y5tbxRi7Avtet4glvc3v+BseihlivhmdORKrvV32ogJOC46fGR URHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=s4WsHbuE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gl3si9298351ejb.378.2019.12.02.05.39.09; Mon, 02 Dec 2019 05:39:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=s4WsHbuE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727618AbfLBNg4 (ORCPT + 99 others); Mon, 2 Dec 2019 08:36:56 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:46120 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727362AbfLBNgz (ORCPT ); Mon, 2 Dec 2019 08:36:55 -0500 Received: by mail-oi1-f196.google.com with SMTP id a124so8735804oii.13 for ; Mon, 02 Dec 2019 05:36:55 -0800 (PST) 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-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=XP4suIiIKWyZNMj9+XsTWNrikqr3iAiDpGfvEBg/oHwUkA0WBrvA3ZePw+448fhjmE FhpTdtyjfoJ2ouHOrebp7QcPepPdoO0tXPx8hkBLjV5k82ZYN5xZA805Z2NlJ5M/n7wO dnQXf6gtq5L9NtL6GuO3gUtKYdWEwsJvadnbGbd2AgBZqTJ5Qai8mpBSImVb8BI2Yoj+ UUwKBrKaBR8UZMVZ2ClxoNe2yqUOE+5wC7BZGIdlqkouNDb4kArXpEjKexhAidnyaaJk EudcfR5FVauOYry886IIG4ksuXMXKulV1DvxBQaDknGCC6x9B5K+ztE0UacwZ1bgkRjK l4ew== X-Gm-Message-State: APjAAAW8HiYjB/X57Bn1pQLVI365/hxfO6AxVO8jwjE42AmbmsLk5/4s OVDOQjOOgKSB0M5gAGpMFAw= 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 Cc: Maxime Ripard , Sean Paul , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Guenter Roeck , Lyude Paul 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.1