summaryrefslogtreecommitdiff
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-01-14 02:45:52 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-14 04:32:33 +0300
commit62c70bce8ac236514c610020bb1ae5b8bde965cb (patch)
tree24f13ae48325034f9a8c4385669adcef545b4836 /mm/vmalloc.c
parentc32b0d4b3f19c2f5d29568f8b7b72b61693f1277 (diff)
downloadlinux-62c70bce8ac236514c610020bb1ae5b8bde965cb.tar.xz
mm: convert sprintf_symbol to %pS
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Pekka Enberg <penberg@kernel.org> Cc: Jiri Kosina <trivial@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r--mm/vmalloc.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index eb5cc7d00c5a..48245af07b10 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -2456,13 +2456,8 @@ static int s_show(struct seq_file *m, void *p)
seq_printf(m, "0x%p-0x%p %7ld",
v->addr, v->addr + v->size, v->size);
- if (v->caller) {
- char buff[KSYM_SYMBOL_LEN];
-
- seq_putc(m, ' ');
- sprint_symbol(buff, (unsigned long)v->caller);
- seq_puts(m, buff);
- }
+ if (v->caller)
+ seq_printf(m, " %pS", v->caller);
if (v->nr_pages)
seq_printf(m, " pages=%d", v->nr_pages);