From: Andrey Konovalov <[email protected]>
Using object_is_on_stack() requires linux/sched/task_stack.h.
Signed-off-by: Andrey Konovalov <[email protected]>
---
mm/kasan/report_sw_tags.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/kasan/report_sw_tags.c b/mm/kasan/report_sw_tags.c
index 68724ba3d814..7a26397297ed 100644
--- a/mm/kasan/report_sw_tags.c
+++ b/mm/kasan/report_sw_tags.c
@@ -16,6 +16,7 @@
#include <linux/mm.h>
#include <linux/printk.h>
#include <linux/sched.h>
+#include <linux/sched/task_stack.h>
#include <linux/slab.h>
#include <linux/stackdepot.h>
#include <linux/stacktrace.h>
--
2.25.1