]> git.baikalelectronics.ru Git - kernel.git/commit
kallsyms: take advantage of the new '%px' format
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 29 Nov 2017 18:30:13 +0000 (10:30 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 29 Nov 2017 18:30:13 +0000 (10:30 -0800)
commitf401dbc58020e96a8e935da4e92357dd10b3bdd0
tree5d8d4f06b7f2278e9e91f2e03dec4890a6bc736a
parentc51cc00b43a5768eda4d7e2be6586afae8c3da3f
kallsyms: take advantage of the new '%px' format

The conditional kallsym hex printing used a special fixed-width '%lx'
output (KALLSYM_FMT) in preparation for the hashing of %p, but that
series ended up adding a %px specifier to help with the conversions.

Use it, and avoid the "print pointer as an unsigned long" code.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kallsyms.h
kernel/kallsyms.c
kernel/module.c