diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2021-10-19 14:26:20 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2021-10-27 11:40:13 +0000 |
| commit | 507f98603607d43cb76ed39c370c4dc1ed6a94f9 (patch) | |
| tree | 1a7c0566deea60e0cc95e2a222d0003f1dfef133 /scripts/gcc-plugins/structleak_plugin.c | |
| parent | test_printf: Remove custom appending of '|' (diff) | |
| download | kernel-507f98603607d43cb76ed39c370c4dc1ed6a94f9.tar.gz kernel-507f98603607d43cb76ed39c370c4dc1ed6a94f9.zip | |
test_printf: Append strings more efficiently
Use scnprintf instead of snprintf + strlen.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Reviewed-by: Yafang Shao <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
