summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/dwarf.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-19 08:51:21 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-10-19 08:51:21 +0200
commiteca28e3764e301fad662743d1e8ba7296cc6a109 (patch)
tree23e420fadd4a844d72431e433e1234d5a092a8d0 /arch/sh/kernel/dwarf.c
parentsh: Fix up smp_mb__xxx() memory barriers for SH-4A SMP. (diff)
downloadlinux-eca28e3764e301fad662743d1e8ba7296cc6a109.tar.xz
linux-eca28e3764e301fad662743d1e8ba7296cc6a109.zip
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 718286be6648..4d8c7bd149df 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;