diff options
author | Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> | 2017-12-11 21:50:25 +0900 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2017-12-20 12:41:43 -0800 |
commit | d0729bc6bee797fb4bcca87583af5adbfe79ecfb (patch) | |
tree | 1685889e98efbdea304d03125b3978295d0255b4 /lib/zstd | |
parent | 329b4130bc5eb2a1b123a652b985dbdb08d6b9a8 (diff) | |
download | linux-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/zstd')
0 files changed, 0 insertions, 0 deletions