Skip to content

i2c-hid cleanup and bug fixes

Benjamin Tissoires linux-i2c linux-input lkml 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 8 repliesApplied
  2. v114 patches 28 repliesApplied

Changes in v2 from the cover letter

* patch 1: check if dsize < 4
* patch 2: no changes
* patch 3: fixed irq return path
* patch 4: correct *_count handling (much more tested this time).

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4HID: i2c-hid: fix memory corruption due to missing hid declarationdrivers/hid/i2c-hid/i2c-hid.c+8 -12 replies
2/4HID: i2c-hid: reorder allocation/free of buffersdrivers/hid/i2c-hid/i2c-hid.c+28 -401 reply
3/4HID: i2c-hid: remove extra .irq field in struct i2c_hiddrivers/hid/i2c-hid/i2c-hid.c+5 -102 replies
4/4HID: i2c-hid: fix i2c_hid_get_raw_report count mismatchesdrivers/hid/i2c-hid/i2c-hid.c+12 -43 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchJean Delvare
1/4R-b
2/4R-b
3/4R-b
4/4

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

Read the v2 thread

Cover letter [PATCH v2 0/4] i2c-hid cleanup and bug fixes

Hi Jiri, Jean,

This is the v2 of the cleanup of i2c-hid.

Changes since v1:
* patch 1: check if dsize < 4
* patch 2: no changes
* patch 3: fixed irq return path
* patch 4: correct *_count handling (much more tested this time).

Cheers,
Benjamin

Benjamin Tissoires (4):
HID: i2c-hid: fix memory corruption due to missing hid declaration
HID: i2c-hid: reorder allocation/free of buffers
HID: i2c-hid: remove extra .irq field in struct i2c_hid
HID: i2c-hid: fix i2c_hid_get_raw_report count mismatches

 drivers/hid/i2c-hid/i2c-hid.c | 108 +++++++++++++++++++++---------------------
 1 file changed, 53 insertions(+), 55 deletions(-)
Signature · 1 line
1.8.0.1