diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-06-02 20:04:42 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-06-02 20:04:42 +0200 |
commit | 4fb5741c7c5defd88046f570694fc3249479f36f (patch) | |
tree | 73e76b26f1da72a490d9192e107d398e376b7576 /kernel/stacktrace.c | |
parent | Merge tag 'spdx-5.2-rc3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/g... (diff) | |
parent | stacktrace: Unbreak stack_trace_save_tsk_reliable() (diff) | |
download | linux-4fb5741c7c5defd88046f570694fc3249479f36f.tar.xz linux-4fb5741c7c5defd88046f570694fc3249479f36f.zip |
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull stacktrace fix from Ingo Molnar:
"Fix a stack_trace_save_tsk_reliable() regression"
* 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
stacktrace: Unbreak stack_trace_save_tsk_reliable()
Diffstat (limited to 'kernel/stacktrace.c')
-rw-r--r-- | kernel/stacktrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/stacktrace.c b/kernel/stacktrace.c index 5667f1da3ede..36139de0a3c4 100644 --- a/kernel/stacktrace.c +++ b/kernel/stacktrace.c @@ -207,7 +207,7 @@ int stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, ret = arch_stack_walk_reliable(consume_entry, &c, tsk); put_task_stack(tsk); - return ret; + return ret ? ret : c.len; } #endif |