USB: serial: ftdi_sio: clean up receive processing
authorJohan Hovold <johan@kernel.org>
Wed, 8 Jul 2020 12:49:52 +0000 (14:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 11:07:34 +0000 (13:07 +0200)
commitef73e8f85594ed034ee714b319904219b60c94b8
tree22bc440dc252832f0f4c32392d93a87f835a6710
parent37c24e3f601aef1fb8593d53a5d8ec913e066475
USB: serial: ftdi_sio: clean up receive processing

[ Upstream commit ce054039ba5e47b75a3be02a00274e52b06a6456 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/serial/ftdi_sio.c