diff options
author | Jiri Slaby <jslaby@suse.cz> | 2020-06-15 09:48:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-24 17:08:31 +0200 |
commit | de53ce0427cd20886b0d53555dc576702cbb1ff8 (patch) | |
tree | 0c127a71647417655bc825e8b9d27a67c32162c4 /include/linux/interval_tree.h | |
parent | 7d4a3112f07878ba9c6bffbcdb2dea2dcfc5c1f9 (diff) |
vt: use tty_insert_flip_string in respond_string
Pass the length of a string to respond_string and use
tty_insert_flip_string instead of a loop with tty_insert_flip_char. This
simplifies the processing on the tty side.
The added strlens are optimized during constant folding and propagation
and the result are proper constants in assembly.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200615074910.19267-8-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/interval_tree.h')
0 files changed, 0 insertions, 0 deletions