summaryrefslogtreecommitdiffstats
path: root/lib/stmp_device.c
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky.work@gmail.com>2017-12-11 21:50:25 +0900
committerVineet Gupta <vgupta@synopsys.com>2017-12-20 12:41:43 -0800
commitd0729bc6bee797fb4bcca87583af5adbfe79ecfb (patch)
tree1685889e98efbdea304d03125b3978295d0255b4 /lib/stmp_device.c
parent329b4130bc5eb2a1b123a652b985dbdb08d6b9a8 (diff)
downloadlinux-d0729bc6bee797fb4bcca87583af5adbfe79ecfb.tar.gz
linux-d0729bc6bee797fb4bcca87583af5adbfe79ecfb.tar.bz2
linux-d0729bc6bee797fb4bcca87583af5adbfe79ecfb.zip
arc: do not use __print_symbol()
__print_symbol() uses extra stack space to sprintf() symbol information and then to feed that buffer to printk() char buffer[KSYM_SYMBOL_LEN]; sprint_symbol(buffer, address); printk(fmt, buffer); Replace __print_symbol() with a direct printk("%pS") call. Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'lib/stmp_device.c')
0 files changed, 0 insertions, 0 deletions