]> Git Repo - linux.git/commitdiff
drm/dp_mst: Fix build on systems with STACKTRACE_SUPPORT=n
authorGuenter Roeck <[email protected]>
Mon, 2 Dec 2019 13:36:50 +0000 (05:36 -0800)
committerLyude Paul <[email protected]>
Tue, 3 Dec 2019 21:28:14 +0000 (16:28 -0500)
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 <[email protected]>
Cc: Sean Paul <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Lyude Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/Kconfig

index 617d9c3a86c3f013f8a386967a614b440aa21434..58e9772c25862703c276a6ca0d99f505db139092 100644 (file)
@@ -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
This page took 0.059632 seconds and 4 git commands to generate.