Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'hid-for-linus-2024090201' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid

Pull HID fix from Benjamin Tissoires:

- A small fix from the new HID-BPF code.

The HID-BPF CI started failing completely because the BPF tree is now
stricter, exposing a problem in the hid_bpf_ops.

* tag 'hid-for-linus-2024090201' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid:
HID: bpf: fix cfi stubs for hid_bpf_ops

+14
+14
drivers/hid/bpf/hid_bpf_struct_ops.c
··· 276 276 return 0; 277 277 } 278 278 279 + static int __hid_bpf_hw_request(struct hid_bpf_ctx *ctx, unsigned char reportnum, 280 + enum hid_report_type rtype, enum hid_class_request reqtype, 281 + u64 source) 282 + { 283 + return 0; 284 + } 285 + 286 + static int __hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx, u64 source) 287 + { 288 + return 0; 289 + } 290 + 279 291 static struct hid_bpf_ops __bpf_hid_bpf_ops = { 280 292 .hid_device_event = __hid_bpf_device_event, 281 293 .hid_rdesc_fixup = __hid_bpf_rdesc_fixup, 294 + .hid_hw_request = __hid_bpf_hw_request, 295 + .hid_hw_output_report = __hid_bpf_hw_output_report, 282 296 }; 283 297 284 298 static struct bpf_struct_ops bpf_hid_bpf_ops = {