Files
linux/drivers
Jiri Slaby (SUSE) a84853c595 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>
2023-08-27 11:46:52 +02:00
..
2023-08-11 21:12:45 +02:00
2023-08-11 21:12:47 +02:00
2023-08-07 00:01:41 +05:30
2023-08-11 21:12:47 +02:00
2023-07-27 07:53:12 +02:00