diff options
| author | Anant Thazhemadam <[email protected]> | 2021-03-27 04:02:51 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-28 13:41:27 +0200 |
| commit | 38833cbda2c2bd2a0968e038248dda31af51d841 (patch) | |
| tree | e551f484ad1122e8e603ae74301ccbafea3ffad8 /tools/perf/scripts/python | |
| parent | ced6a0ba266effb0b31c7207f4348df9e906c789 (diff) | |
usb: misc: usbsevseg: 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, instances of usb_control_msg() have been replaced with
usb_control_msg_send() appropriately.
Signed-off-by: Anant Thazhemadam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions