projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branches 'asoc/fix/adsp', 'asoc/fix/arizona', 'asoc/fix/atmel...
[linux-drm-fsl-dcu.git]
/
arch
/
arm
/
kernel
/
stacktrace.c
diff --git
a/arch/arm/kernel/stacktrace.c
b/arch/arm/kernel/stacktrace.c
index 00f79e59985bccaf54bd3b1c8f2e292f49014a47..af4e8c8a5422c4383396f7f4b3a836a67426b7de 100644
(file)
--- a/
arch/arm/kernel/stacktrace.c
+++ b/
arch/arm/kernel/stacktrace.c
@@
-31,7
+31,7
@@
int notrace unwind_frame(struct stackframe *frame)
high = ALIGN(low, THREAD_SIZE);
/* check current frame pointer is within bounds */
- if (fp <
(low + 12) || fp + 4 >= high
)
+ if (fp <
low + 12 || fp > high - 4
)
return -EINVAL;
/* restore the registers from the stack frame */