USB: serial: ftdi_sio: clean up receive processing
authorJohan Hovold <johan@kernel.org>
Wed, 8 Jul 2020 12:49:52 +0000 (14:49 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 9 Jul 2020 07:19:42 +0000 (09:19 +0200)
commitce054039ba5e47b75a3be02a00274e52b06a6456
tree1a61557e9d9fad416dbeaf75bdf4806b3985748d
parentab4cc4ef6724ea588e835fc1e764c4b4407a70b7
USB: serial: ftdi_sio: clean up receive processing

Clean up receive processing by dropping the character pointer and
keeping the length argument unchanged throughout the function.

Also make it more apparent that sysrq processing can consume a
characters by adding an explicit continue.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c