summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2025-06-18 14:57:50 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-19 12:25:16 +0200
commit783e15ddb54072bb9af89bffac9fba40a6ada72c (patch)
tree09780d51328ba423ca89ed09059902b1d98c164b /tools/perf/scripts/python
parent1857571e4f50323da9f24f63b8095286d83d490c (diff)
usb: gadget: dummy_hcd: Use USB API functions rather than constants
Use the function usb_endpoint_num() rather than constants. The Coccinelle semantic patch is as follows: @@ struct usb_endpoint_descriptor *epd; @@ - (epd->bEndpointAddress & \(USB_ENDPOINT_NUMBER_MASK\|0x0f\)) + usb_endpoint_num(epd) Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Link: https://lore.kernel.org/r/20250618065750.816965-1-nichen@iscas.ac.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions