diff options
| author | John Keeping <[email protected]> | 2022-11-24 17:04:28 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-06 16:36:52 +0100 |
| commit | b566d38857fcb6777f25b674b90a831eec0817a2 (patch) | |
| tree | 9bdeb08a5733a91830293693609f5a04a229b06d /tools/perf/scripts/python/libxed.py | |
| parent | a8d3392e0e5cfeb03f0cea1f2bc3f5f183c1deb4 (diff) | |
usb: gadget: f_fs: use io_data->status consistently
Commit fb1f16d74e26 ("usb: gadget: f_fs: change ep->status safe in
ffs_epfile_io()") added a new ffs_io_data::status field to fix lifetime
issues in synchronous requests.
While there are no similar lifetime issues for asynchronous requests
(the separate ep member in ffs_io_data avoids them) using the status
field means the USB request can be freed earlier and that there is more
consistency between the synchronous and asynchronous I/O paths.
Cc: Linyu Yuan <[email protected]>
Signed-off-by: John Keeping <[email protected]>
Reviewed-by: Linyu Yuan <[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/libxed.py')
0 files changed, 0 insertions, 0 deletions