mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
UPSTREAM: mm/kasan: Remove the ULONG_MAX stack trace hackery
Upstream commit ead97a49ec3a3cb9b5133acbfed9a49b91ebf37c. No architecture terminates the stack trace with ULONG_MAX anymore. Remove the cruft. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Dmitry Vyukov <dvyukov@google.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Alexander Potapenko <glider@google.com> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: kasan-dev@googlegroups.com Cc: linux-mm@kvack.org Link: https://lkml.kernel.org/r/20190410103644.750219625@linutronix.de Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Change-Id: I57b225e2bb8bdec599c386732ffe6837653c2a25 Bug: 128674696
This commit is contained in:
parent
10be9094e3
commit
7095baad73
@ -75,9 +75,6 @@ static inline depot_stack_handle_t save_stack(gfp_t flags)
|
||||
|
||||
save_stack_trace(&trace);
|
||||
filter_irq_stacks(&trace);
|
||||
if (trace.nr_entries != 0 &&
|
||||
trace.entries[trace.nr_entries-1] == ULONG_MAX)
|
||||
trace.nr_entries--;
|
||||
|
||||
return depot_save_stack(&trace, flags);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user