summaryrefslogtreecommitdiff
path: root/Documentation/block/data-integrity.rst
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2023-08-27 10:41:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-27 12:46:52 +0300
commita84853c5954fe2c1b97db2f005ae156dc29ae233 (patch)
treec47a076af76b9dab7054b1c0da530d2b8509b090 /Documentation/block/data-integrity.rst
parent2aa91851ffa7cdfc0a63330d273115d38324b585 (diff)
downloadlinux-a84853c5954fe2c1b97db2f005ae156dc29ae233.tar.xz
tty: n_tty: deduplicate copy code in n_tty_receive_buf_real_raw()
The code is duplicated to perform the copy twice -- to handle buffer wrap-around. Instead of the duplication, roll this into the loop. (And add some blank lines around to have the code a bit more readable.) Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20230827074147.2287-15-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/block/data-integrity.rst')
0 files changed, 0 insertions, 0 deletions