diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4344,7 +4344,7 @@ static void show_symbol(struct seq_file *m, unsigned long address) | |||
4344 | { | 4344 | { |
4345 | #ifdef CONFIG_KALLSYMS | 4345 | #ifdef CONFIG_KALLSYMS |
4346 | unsigned long offset, size; | 4346 | unsigned long offset, size; |
4347 | char modname[MODULE_NAME_LEN + 1], name[KSYM_NAME_LEN + 1]; | 4347 | char modname[MODULE_NAME_LEN], name[KSYM_NAME_LEN]; |
4348 | 4348 | ||
4349 | if (lookup_symbol_attrs(address, &size, &offset, modname, name) == 0) { | 4349 | if (lookup_symbol_attrs(address, &size, &offset, modname, name) == 0) { |
4350 | seq_printf(m, "%s+%#lx/%#lx", name, offset, size); | 4350 | seq_printf(m, "%s+%#lx/%#lx", name, offset, size); |