]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp_mst: Fix build on systems with STACKTRACE_SUPPORT=n
authorGuenter Roeck <linux@roeck-us.net>
Mon, 2 Dec 2019 13:36:50 +0000 (05:36 -0800)
committerLyude Paul <lyude@redhat.com>
Tue, 3 Dec 2019 21:28:14 +0000 (16:28 -0500)
commitce92c5852b73fda7ddadd50b4283771001f176f5
treefb847bc3040aa098471bc1465a3170dfe7d7ec07
parentabe9dc8258ab5bf94c1c2013cb4f70eb63aceb9d
drm/dp_mst: Fix build on systems with STACKTRACE_SUPPORT=n

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: b4754728b5d4 ("drm/dp_mst: Add topology ref history tracking for debugging")
Cc: Lyude Paul <lyude@redhat.com>
Cc: Sean Paul <sean@poorly.run>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191202133650.11964-1-linux@roeck-us.net
drivers/gpu/drm/Kconfig