diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-19 16:26:20 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2021-10-27 13:40:13 +0200 |
commit | 507f98603607d43cb76ed39c370c4dc1ed6a94f9 (patch) | |
tree | 1a7c0566deea60e0cc95e2a222d0003f1dfef133 /mm | |
parent | test_printf: Remove custom appending of '|' (diff) | |
download | linux-507f98603607d43cb76ed39c370c4dc1ed6a94f9.tar.xz linux-507f98603607d43cb76ed39c370c4dc1ed6a94f9.zip |
test_printf: Append strings more efficiently
Use scnprintf instead of snprintf + strlen.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20211019142621.2810043-5-willy@infradead.org
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions