[GIT PULL] HID fixes for 6.8

From: Benjamin Tissoires
Date: Thu Feb 01 2024 - 11:17:45 EST


Linus,

please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git tags/hid-for-linus-2024020101

to receive fixes that should go into 6.8:

=====
- cleanups in the error path in hid-steam (Dan Carpenter)
- fixes for Wacom tablets selftests that sneaked in while the
CI was taking a break during the year end holidays (Benjamin Tissoires)
- a null pointer check in nvidia-shield (Kunwu Chan)
- a memory leak fix in hidraw (Su Hui)
- another null pointer fix in i2c-hid-of (Johan Hovold)
- another memory leak fix in HID-BPF this time, as well as a double
fdget() fix reported by Dan Carpenter (Benjamin Tissoires)
- a fix for Cirque touchpad when they go on suspend (Kai-Heng Feng)
- a new device ID in hid-logitech-hidpp: "Logitech G Pro X SuperLight 2"
(Jiri Kosina)
=====

Thanks,

----------------------------------------------------------------
Benjamin Tissoires (4):
selftests/hid: wacom: fix confidence tests
HID: bpf: remove double fdget()
HID: bpf: actually free hdev memory after attaching a HID-BPF program
HID: bpf: use __bpf_kfunc instead of noinline

Dan Carpenter (2):
HID: hid-steam: remove pointless error message
HID: hid-steam: Fix cleanup in probe()

Jiri Kosina (1):
HID: logitech-hidpp: add support for Logitech G Pro X Superlight 2

Johan Hovold (1):
HID: i2c-hid-of: fix NULL-deref on failed power up

Kai-Heng Feng (1):
HID: i2c-hid: Skip SET_POWER SLEEP for Cirque touchpad on system suspend

Kunwu Chan (1):
HID: nvidia-shield: Add missing null pointer checks to LED initialization

Su Hui (1):
HID: hidraw: fix a problem of memory leak in hidraw_release()

drivers/hid/bpf/hid_bpf_dispatch.c | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------
drivers/hid/bpf/hid_bpf_dispatch.h | 4 ++--
drivers/hid/bpf/hid_bpf_jmp_table.c | 40 ++++++++++++++++++++--------------------
drivers/hid/hid-ids.h | 3 +++
drivers/hid/hid-logitech-hidpp.c | 2 ++
drivers/hid/hid-nvidia-shield.c | 4 ++++
drivers/hid/hid-steam.c | 36 ++++++++++++++++++------------------
drivers/hid/hidraw.c | 7 +++++--
drivers/hid/i2c-hid/i2c-hid-core.c | 6 +++++-
drivers/hid/i2c-hid/i2c-hid-of.c | 1 +
include/linux/hid_bpf.h | 11 -----------
tools/testing/selftests/hid/tests/test_wacom_generic.py | 8 ++++----
12 files changed, 138 insertions(+), 85 deletions(-)

---
Cheers,
Benjamin