Skip to content

HID: followup of uhid crashes, and couple of core

Benjamin Tissoires linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4HID: sony: fix error path in probedrivers/hid/hid-sony.c+15 -70 replies
2/4HID: bigbenff: prevent null pointer dereferencedrivers/hid/hid-bigbenff.c+1 -10 replies
3/4HID: add suspend/resume helpersdrivers/hid/hid-core.c drivers/hid/i2c-hid/i2c-hid-core.c drivers/hid/surface-hid/surface_hid_core.c +2 more+56 -420 replies
4/4HID: do not inline some hid_hw_ functionsdrivers/hid/hid-core.c include/linux/hid.h+70 -620 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreg Kroah-Hartman
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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/[email protected]/

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(-)
Signature · 1 line
2.33.1