Re: [PATCH 00/15] usb: serial: avoid using usb_control_msg() directly

From: Greg KH
Date: Fri Nov 06 2020 - 05:42:55 EST


On Wed, Nov 04, 2020 at 12:16:48PM +0530, Himadri Pandya wrote:
> There are many usages of usb_control_msg() that can use the new wrapper
> functions usb_contro_msg_send() & usb_control_msg_recv() for better
> error checks on short reads and writes. Hence use them whenever possible
> and avoid using usb_control_msg() directly.
>
> Himadri Pandya (15):
> usb: serial: ark3116: use usb_control_msg_recv() and
> usb_control_msg_send()
> usb: serial: belkin_sa: use usb_control_msg_send()
> usb: serial: ch314: use usb_control_msg_recv() and
> usb_control_msg_send()
> usb: serial: cp210x: use usb_control_msg_recv() and
> usb_control_msg_send()
> usb: serial: cypress_m8: use usb_control_msg_recv() and
> usb_control_msg_send()
> usb: serial: f81232: use usb_control_msg_recv() and
> usb_control_msg_send()
> usb: serial: f81534: use usb_control_msg_recv() and
> usb_control_msg_send()
> usb: serial: ftdi_sio: use usb_control_msg_recv() and
> usb_control_msg_send()
> usb: serial: io_edgeport: use usb_control_msg_recv() and
> usb_control_msg_send()
> usb: serial: io_ti: use usb_control_msg_recv() and
> usb_control_msg_send()
> usb: serial: ipaq: use usb_control_msg_send()
> usb: serial: ipw: use usb_control_msg_send()
> usb: serial: iuu_phoenix: use usb_control_msg_send()
> usb: serial: keyspan_pda: use usb_control_msg_recv() and
> usb_control_msg_send()
> usb: serial: kl5kusb105: use usb_control_msg_recv() and
> usb_control_msg_send()

For the whole series:

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>