summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2025-05-19 09:25:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-21 14:13:22 +0300
commitebaac1027a26ed62e0b6f24cd2d2cdf4a3ce73f2 (patch)
tree47a242184ae1ac43db0298babe8a1b2eb5eb0a9d /tools/perf/scripts/python/syscall-counts.py
parent48175e2e6eaf8642fbd9d36746fc094099ee65cf (diff)
downloadlinux-ebaac1027a26ed62e0b6f24cd2d2cdf4a3ce73f2.tar.xz
usb: gadget: epautoconf: Use USB API functions rather than constants
Use the function usb_endpoint_type() rather than constants. The Coccinelle semantic patch is as follows: @@ struct usb_endpoint_descriptor *epd; @@ - (epd->bmAttributes & \(USB_ENDPOINT_XFERTYPE_MASK\|3\)) + usb_endpoint_type(epd) Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Link: https://lore.kernel.org/r/20250519062545.724727-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