]> 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)
commit96bde72bb378f1b1c07ebc6b343e9980a27829a3
tree9c37a869af4790a80d328e8442fdcb673c305811
parentf14bf33b2229e131f616581509098601d0dfcbf9
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