aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/misc/usbsevseg.c
diff options
context:
space:
mode:
authorAnant Thazhemadam <anant.thazhemadam@gmail.com>2021-03-27 04:02:50 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-28 13:41:27 +0200
commitced6a0ba266effb0b31c7207f4348df9e906c789 (patch)
tree01bfb5def85d1b97e5c8df5052dd032f3637bc5f /drivers/usb/misc/usbsevseg.c
parentusb: misc: ehset: update to use the usb_control_msg_{send|recv}() API (diff)
downloadwireguard-linux-ced6a0ba266effb0b31c7207f4348df9e906c789.tar.xz
wireguard-linux-ced6a0ba266effb0b31c7207f4348df9e906c789.zip
usb: misc: ezusb: update to use usb_control_msg_send()
The newer usb_control_msg_{send|recv}() API ensures that a short read is treated as an error, data can be used off the stack, and raw usb pipes need not be created in the calling functions. For this reason, the instance of usb_control_msg() has been replaced with usb_control_msg_send() appropriately. Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Anant Thazhemadam <anant.thazhemadam@gmail.com> Link: https://lore.kernel.org/r/20210326223251.753952-3-anant.thazhemadam@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc/usbsevseg.c')
0 files changed, 0 insertions, 0 deletions