mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
c32b0d4b3f
commit
62c70bce8a
2 changed files with 6 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue