]> git.baikalelectronics.ru Git - kernel.git/commit
proc/wchan: use printk format instead of lookup_symbol_name()
authorHelge Deller <deller@gmx.de>
Fri, 26 Feb 2021 01:20:45 +0000 (17:20 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Feb 2021 17:41:03 +0000 (09:41 -0800)
commit069793802fd1d4fff1af993a1db1506de61e7397
tree9c37a869af4790a80d328e8442fdcb673c305811
parent1d28985e64c915768bf226d2376959f760d34f7b
proc/wchan: use printk format instead of lookup_symbol_name()

To resolve the symbol fuction name for wchan, use the printk format
specifier %ps instead of manually looking up the symbol function name
via lookup_symbol_name().

Link: https://lkml.kernel.org/r/20201217165413.GA1959@ls3530.fritz.box
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c