]> www.infradead.org Git - users/jedix/linux-maple.git/commit
proc/wchan: use printk format instead of lookup_symbol_name()
authorHelge Deller <deller@gmx.de>
Thu, 31 Dec 2020 22:04:41 +0000 (22:04 +0000)
committerJohannes Weiner <hannes@cmpxchg.org>
Thu, 31 Dec 2020 22:04:41 +0000 (22:04 +0000)
commit5d8d191b2d28b25aa1f85f200c59448ca4b5de91
tree00c56230d2e826c818e4cf5814103b9a7cacc823
parent7480c4b1834782bcbc0b08af0a12f606836cff7a
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>
fs/proc/base.c