From: Chris Wilson Date: Tue, 8 Nov 2016 11:56:01 +0000 (+0000) Subject: drm: Add stackdepot include for DRM_DEBUG_MM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93ce75fa3dba8781c5c042bd7a61d438662ed73c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Fixes: 5705670d0463 ("drm: Track drm_mm allocators and show leaks on shutdown") Signed-off-by: Chris Wilson Cc: Daniel Vetter Reviewed-by: Christian König . Signed-off-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/20161108115601.22873-1-chris@chris-wilson.co.uk --- diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c index 89b891a4847f..632473beb40c 100644 --- a/drivers/gpu/drm/drm_mm.c +++ b/drivers/gpu/drm/drm_mm.c @@ -105,6 +105,8 @@ static struct drm_mm_node *drm_mm_search_free_in_range_generic(const struct drm_ enum drm_mm_search_flags flags); #ifdef CONFIG_DRM_DEBUG_MM +#include + #define STACKDEPTH 32 #define BUFSZ 4096