summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2024-09-27 16:17:41 +0200
committerJiri Kosina <jkosina@suse.com>2024-09-27 20:15:21 +0200
commitacd5f76fd5292c91628e04da83e8b78c986cfa2b (patch)
tree5f9740626d11587c60c69bc420140d2910740c3c /drivers/iio
parentdt-bindings: input: Revert "dt-bindings: input: Goodix SPI HID Touchscreen" (diff)
downloadlinux-acd5f76fd5292c91628e04da83e8b78c986cfa2b.tar.xz
linux-acd5f76fd5292c91628e04da83e8b78c986cfa2b.zip
HID: bpf: fix cfi stubs for hid_bpf_ops
With the introduction of commit e42ac1418055 ("bpf: Check unsupported ops from the bpf_struct_ops's cfi_stubs"), a HID-BPF struct_ops containing a .hid_hw_request() or a .hid_hw_output_report() was failing to load as the cfi stubs were not defined. Fix that by defining those simple static functions and restore HID-BPF functionality. This was detected with the HID selftests suddenly failing on Linus' tree. Cc: stable@vger.kernel.org # v6.11+ Fixes: 9286675a2aed ("HID: bpf: add HID-BPF hooks for hid_hw_output_report") Fixes: 8bd0488b5ea5 ("HID: bpf: add HID-BPF hooks for hid_hw_raw_requests") Signed-off-by: Benjamin Tissoires <bentiss@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions