diff options
| author | Mathias Nyman <[email protected]> | 2021-01-29 15:00:24 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-01-29 14:16:50 +0100 |
| commit | 42f2890aa998d14a4b406644486d8e246bc1e4b2 (patch) | |
| tree | 23ce4cb8b5cf8ffd9ecef779e19e58dbe40205fb /tools/perf/scripts/python | |
| parent | 03ed579d9d51aa018830b0de3e8b463faf6b87db (diff) | |
xhci: add xhci_virt_ep_to_ring() helper
Two existing ring helpers, xhci_triad_to_transfer_ring() and
xhci_stream_id_to_ring() have partially similar functionality.
Both have some limitation, especieally with boundary checking.
Add a new xhci_virt_ep_to_ring() helper with proper boundary checking
that can replace parts of one helper, and later will completely
replace the other helper.
Signed-off-by: Mathias Nyman <[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