diff options
author | Mathias Nyman <[email protected]> | 2024-06-26 15:48:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-06-27 16:08:06 +0200 |
commit | 36b1235a8ae79caacd6f2bbd7120ac7860cab734 (patch) | |
tree | bf9dbc4a11418283bceeb88403fca9e8e3b9f0f4 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | b4c87bc5ce9292d494d9354e25cc8ea152fbcbbd (diff) |
xhci: sort out TRB Endpoint ID bitfield macros
xhci macros that read and write endpoint ID bitfields of TRBs are mixing
the 1-based Endpoint ID as described in the xHCI specification, and
0-based endpoint index used by driver as an array index.
Sort this out by naming macros that deal with 1 based Endpoint ID fields
to *_EP_ID_*, and 0 based endpoint index values to *_EP_INDEX_*.
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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions