Commit 3f1712ba authored by Vegard Nossum's avatar Vegard Nossum Committed by Linus Torvalds

print_ip_sym(): use %pS

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c389d27b
...@@ -108,8 +108,7 @@ static inline void print_fn_descriptor_symbol(const char *fmt, void *addr) ...@@ -108,8 +108,7 @@ static inline void print_fn_descriptor_symbol(const char *fmt, void *addr)
static inline void print_ip_sym(unsigned long ip) static inline void print_ip_sym(unsigned long ip)
{ {
printk("[<%p>]", (void *) ip); printk("[<%p>] %pS\n", (void *) ip, (void *) ip);
print_symbol(" %s\n", ip);
} }
#endif /*_LINUX_KALLSYMS_H*/ #endif /*_LINUX_KALLSYMS_H*/
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment