summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2025-06-18 15:02:16 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-19 12:24:01 +0200
commitb0ef41f1640e618aa37aa08ca4cd2a32e63b3dcb (patch)
treee4812b1a81787d079f3a241a336a02d3249a3e9d /tools/perf/scripts/python/syscall-counts.py
parenta4e668fd49997a1bee92af413f2f19b1471ef623 (diff)
usb: gadget: f_fs: 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/20250618070216.817034-1-nichen@iscas.ac.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions