projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c389d27
)
print_ip_sym(): use %pS
author
Vegard Nossum
<vegard.nossum@gmail.com>
Wed, 30 Jul 2008 05:33:32 +0000
(22:33 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 30 Jul 2008 16:41:45 +0000
(09:41 -0700)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kallsyms.h
patch
|
blob
|
history
diff --git
a/include/linux/kallsyms.h
b/include/linux/kallsyms.h
index 57aefa160a926863c752bd1a3a312c0781ecc9b8..b96144887444a222621a4167f646859528887bb5 100644
(file)
--- a/
include/linux/kallsyms.h
+++ b/
include/linux/kallsyms.h
@@
-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*/