Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: Add stackdepot include for DRM_DEBUG_MM

0day found that stackdepot.h doesn't get automatically included on all
architectures, so remember to add our #include.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 5705670d0463 ("drm: Track drm_mm allocators and show leaks on shutdown")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Christian König <christian.koenig@amd.com>.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161108115601.22873-1-chris@chris-wilson.co.uk

authored by

Chris Wilson and committed by
Daniel Vetter
93ce75fa 3835b46e

+2
+2
drivers/gpu/drm/drm_mm.c
··· 105 105 enum drm_mm_search_flags flags); 106 106 107 107 #ifdef CONFIG_DRM_DEBUG_MM 108 + #include <linux/stackdepot.h> 109 + 108 110 #define STACKDEPTH 32 109 111 #define BUFSZ 4096 110 112