Thread (7 messages) 7 messages, 2 authors, 2021-12-02
STALE1687d

[PATCH 0/4] HID: followup of uhid crashes, and couple of core

From: Benjamin Tissoires <hidden>
Date: 2021-12-02 09:55:11
Also in: lkml

Hi,

this is a followup of Greg's series[0].
hid-sony is having a wrong error path leading to unreleased
hidraw nodes, and bigbenff is having a crash when used with
a wrong report descriptor in uhid.

Those 2 first patches should IMO go into 5.16.

The 2 others are some core changes I had locally stacked and
which should be ready to go now. They can be scheduled for 5.16
or 5.17, there is no rush for them.

Cheers,
Benjamin


[0] https://lore.kernel.org/linux-input/20211201183503.2373082-1-gregkh@linuxfoundation.org/ (local)


Benjamin Tissoires (4):
  HID: sony: fix error path in probe
  HID: bigbenff: prevent null pointer dereference
  HID: add suspend/resume helpers
  HID: do not inline some hid_hw_ functions

 drivers/hid/hid-bigbenff.c                 |  2 +-
 drivers/hid/hid-core.c                     | 93 ++++++++++++++++++++++
 drivers/hid/hid-sony.c                     | 22 +++--
 drivers/hid/i2c-hid/i2c-hid-core.c         | 15 +---
 drivers/hid/surface-hid/surface_hid_core.c | 25 ++----
 drivers/hid/usbhid/hid-core.c              | 19 ++---
 include/linux/hid.h                        | 78 ++++--------------
 7 files changed, 142 insertions(+), 112 deletions(-)

-- 
2.33.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help