git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394...
[pandora-kernel.git]
/
arch
/
sh
/
kernel
/
return_address.c
diff --git
a/arch/sh/kernel/return_address.c
b/arch/sh/kernel/return_address.c
index
cbf1dd5
..
5124aeb
100644
(file)
--- a/
arch/sh/kernel/return_address.c
+++ b/
arch/sh/kernel/return_address.c
@@
-24,6
+24,8
@@
void *return_address(unsigned int depth)
struct dwarf_frame *tmp;
tmp = dwarf_unwind_stack(ra, frame);
struct dwarf_frame *tmp;
tmp = dwarf_unwind_stack(ra, frame);
+ if (!tmp)
+ return NULL;
if (frame)
dwarf_free_frame(frame);
if (frame)
dwarf_free_frame(frame);