projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60c9d92
)
kallsyms: let print_ip_sym() print raw addresses
author
Huacai Chen
<
[email protected]
>
Tue, 6 Feb 2018 23:39:18 +0000
(15:39 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 7 Feb 2018 02:32:45 +0000
(18:32 -0800)
print_ip_sym() is mostly used for debugging, so I think it should print
the raw addresses.
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Huacai Chen <
[email protected]
>
Cc: Kees Cook <
[email protected]
>
Cc: Fuxin Zhang <
[email protected]
>
Cc: "Tobin C. Harding" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/kallsyms.h
patch
|
blob
|
history
diff --git
a/include/linux/kallsyms.h
b/include/linux/kallsyms.h
index d79d1e7486bdf78d291d92ed785a9845a59ceb5e..657a83b943f06465e32cb23dabb7bd6f94cacee6 100644
(file)
--- a/
include/linux/kallsyms.h
+++ b/
include/linux/kallsyms.h
@@
-167,7
+167,7
@@
static inline int kallsyms_show_value(void)
static inline void print_ip_sym(unsigned long ip)
{
- printk("[<%p>] %pS\n", (void *) ip, (void *) ip);
+ printk("[<%p
x
>] %pS\n", (void *) ip, (void *) ip);
}
#endif /*_LINUX_KALLSYMS_H*/