]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Restrict stackdepot usage to builtin drm.ko
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 8 Nov 2016 13:19:17 +0000 (13:19 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 9 Nov 2016 01:13:43 +0000 (02:13 +0100)
commit500d7a182a1bb5b6dd13d10330c777f3a956d15f
tree447faa8d881a5def92eff206cf170db6ecf43f61
parent9579d879cbb18d4c2ca572e7d030b75445d070a4
drm: Restrict stackdepot usage to builtin drm.ko

I misread the kbuild result thinking that we had missed the include
(which we had for completeness anyway), what kbuild was actually warning
me about was that depot_save_stack was not exported.

Temporarily fix this by only selecting STACKDEPOT iff drm.ko is builtin

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 9c79090ea6c7 ("drm: Track drm_mm allocators and show leaks on shutdown")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161108131917.6253-2-chris@chris-wilson.co.uk
drivers/gpu/drm/Kconfig