diff options
| author | Mark Brown <[email protected]> | 2016-02-18 14:10:59 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2016-02-18 14:10:59 +0000 |
| commit | 499e49b6d3a4c2ba21c175aa43a7d296724643c3 (patch) | |
| tree | efc6616cbfb571af30b37f203b26e49d1ccafbd9 /kernel/trace/trace_stack.c | |
| parent | 6aa800ca65b1788e8c2e4ffd1e57a4c4355fe0ed (diff) | |
| parent | 4dd638f8ac6b4ed020297b5d994d9346b84f2009 (diff) | |
Merge tag 'spi-fix-v4.5-rc4' into spi-imx
spi: Fixes for v4.5
A small clutch of driver specific fixes. The OMAP one is a bit worrying
since it seems to be triggered by some changes in the runtime PM core
code and I suspect there's other drivers across that are going to be
using the same pattern outside of OMAP but nothing seems to be coming up
in the testing people are doing.
Diffstat (limited to 'kernel/trace/trace_stack.c')
| -rw-r--r-- | kernel/trace/trace_stack.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/trace/trace_stack.c b/kernel/trace/trace_stack.c index dda9e6742950..202df6cffcca 100644 --- a/kernel/trace/trace_stack.c +++ b/kernel/trace/trace_stack.c @@ -126,6 +126,13 @@ check_stack(unsigned long ip, unsigned long *stack) } /* + * Some archs may not have the passed in ip in the dump. + * If that happens, we need to show everything. + */ + if (i == stack_trace_max.nr_entries) + i = 0; + + /* * Now find where in the stack these are. */ x = 0; |