diff options
| author | Andy Shevchenko <[email protected]> | 2021-07-01 01:55:37 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-07-01 18:06:05 +0000 |
| commit | e7ed4a3b922b04d2042cd2e19d1096fa457b6c11 (patch) | |
| tree | 4b5003a61701a277906f7ce5224d5f44359b7e13 /lib/string_helpers.c | |
| parent | seq_file: introduce seq_escape_mem() (diff) | |
| download | kernel-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
