mbox series

[0/2] HID: bpf: couple of upstream fixes

Message ID 20240123-b4-hid-bpf-fixes-v1-0-aa1fac734377@kernel.org (mailing list archive)
Headers show
Series HID: bpf: couple of upstream fixes | expand

Message

Benjamin Tissoires Jan. 23, 2024, 4:40 p.m. UTC
Hi,

these are a couple of fixes for hid-bpf. The first one should
probably go in ASAP, after the reviews, and the second one is nice
to have and doesn't hurt much.

Thanks Dan for finding out the issue with bpf_prog_get()

Cheers,
Benjamin

Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
---
Benjamin Tissoires (2):
      HID: bpf: remove double fdget()
      HID: bpf: use __bpf_kfunc instead of noinline

 drivers/hid/bpf/hid_bpf_dispatch.c  | 88 +++++++++++++++++++++++++------------
 drivers/hid/bpf/hid_bpf_dispatch.h  |  4 +-
 drivers/hid/bpf/hid_bpf_jmp_table.c | 20 ++-------
 include/linux/hid_bpf.h             | 11 -----
 4 files changed, 66 insertions(+), 57 deletions(-)
---
base-commit: fef018d8199661962b5fc0f0d1501caa54b2b533
change-id: 20240123-b4-hid-bpf-fixes-662908fe2234

Best regards,