aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-07-01 01:55:37 +0000
committerLinus Torvalds <[email protected]>2021-07-01 18:06:05 +0000
commite7ed4a3b922b04d2042cd2e19d1096fa457b6c11 (patch)
tree4b5003a61701a277906f7ce5224d5f44359b7e13 /lib/string_helpers.c
parentseq_file: introduce seq_escape_mem() (diff)
downloadkernel-e7ed4a3b922b04d2042cd2e19d1096fa457b6c11.tar.gz
kernel-e7ed4a3b922b04d2042cd2e19d1096fa457b6c11.zip
seq_file: add seq_escape_str() as replica of string_escape_str()
In some cases we want to escape characters from NULL-terminated strings. Add seq_escape_str() as replica of string_escape_str() for that. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Andy Shevchenko <[email protected]> Cc: Alexander Viro <[email protected]> Cc: Chuck Lever <[email protected]> Cc: "J. Bruce Fields" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions