summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/dwarf.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-19 06:51:21 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2009-10-19 06:51:21 (GMT)
commiteca28e3764e301fad662743d1e8ba7296cc6a109 (patch)
tree23e420fadd4a844d72431e433e1234d5a092a8d0 /arch/sh/kernel/dwarf.c
parent1c8db713e21c82e14d0d1be14a09dae224472396 (diff)
downloadlinux-fsl-qoriq-eca28e3764e301fad662743d1e8ba7296cc6a109.tar.xz
sh: Fix up uninitialized variable warning in dwarf unwinder.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/dwarf.c')
-rw-r--r--arch/sh/kernel/dwarf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/dwarf.c b/arch/sh/kernel/dwarf.c
index 718286b..4d8c7bd 100644
--- a/arch/sh/kernel/dwarf.c
+++ b/arch/sh/kernel/dwarf.c
@@ -902,7 +902,7 @@ static int dwarf_parse_section(char *eh_frame_start, char *eh_frame_end,
u32 entry_type;
void *p, *entry;
int count, err = 0;
- unsigned long len;
+ unsigned long len = 0;
unsigned int c_entries, f_entries;
unsigned char *end;