summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2026-09-04 14:53:00 +0200
committerBenjamin Tissoires <bentiss@kernel.org>2026-09-14 18:06:03 +0200
commitc4afa4862b878d56e0cc1021298794ac1b45bc49 (patch)
tree21c7280627e70884f5ab3d9db35fc771e1f13073 /tools/perf/scripts/python/task-analyzer.py
parent9d1e523b92d8cb11a4a7e5a2655d6824c2d0f6e3 (diff)
downloadlinux-next-c4afa4862b878d56e0cc1021298794ac1b45bc49.tar.gz
linux-next-c4afa4862b878d56e0cc1021298794ac1b45bc49.zip
HID: bpf: fix __hid_bpf_hw_check_params report length
Turns out that USB, I2C and other transport drivers (except uhid which just passes the data) still need to have the report ID in the first byte. Because they expect the first byte to be the report ID or 0, when the report ID is 0, they strip that first byte before forwarding to the device. This means that the transport layer forwards a buffer of size N-1 to the device, which gets rejected. Fixes: 5599f8019661 ("HID: bpf: export hid_hw_output_report as a BPF kfunc") Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions