print_ip_sym(): use %pS

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Vegard Nossum 2008-07-29 22:33:32 -07:00 • committed by Linus Torvalds
commit 3f1712bac5

View file

@ -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)
{
printk("[<%p>]", (void *) ip);
print_symbol(" %s\n", ip);
printk("[<%p>] %pS\n", (void *) ip, (void *) ip);
}
#endif /*_LINUX_KALLSYMS_H*/