aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 35056394139b..96d30ee256ef 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -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);