Skip to content

Convert input core to use new cleanup facilities

Dmitry Torokhov linux-input linux-samsung-soc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Input: ff-core - convert locking to guard notationdrivers/input/ff-core.c+29 -420 replies
2/8Input: ff-core - make use of __free() cleanup facilitydrivers/input/ff-core.c+6 -135 replies
3/8Input: ff-memless - convert locking to guard notationdrivers/input/ff-memless.c+2 -60 replies
4/8Input: ff-memless - make use of __free() cleanup facilitydrivers/input/ff-memless.c+3 -60 replies
5/8Input: mt - convert locking to guard notationdrivers/input/input-mt.c+2 -90 replies
6/8Input: mt - make use of __free() cleanup facilitydrivers/input/input-mt.c+10 -130 replies
7/8Input: poller - convert locking to guard notationdrivers/input/input-poller.c+1 -30 replies
8/8Input: use guard notation in input coredrivers/input/input.c+131 -2080 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by.

PatchMarek Szyprowski
1/8
2/8T-b
3/8
4/8
5/8
6/8
7/8
8/8

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/8] Convert input core to use new cleanup facilities

Hi,

This series converts input core (but not input handlers such as evdev, joydev, etc) to use new __free() and guard() cleanup facilities that simplify the code and ensure that all resources are released appropriately.

Input handlers will be converted separately later.

Thanks!

Dmitry Torokhov (8):
Input: ff-core - convert locking to guard notation
Input: ff-core - make use of __free() cleanup facility
Input: ff-memless - convert locking to guard notation
Input: ff-memless - make use of __free() cleanup facility
Input: mt - convert locking to guard notation
Input: mt - make use of __free() cleanup facility
Input: poller - convert locking to guard notation
Input: use guard notation in input core

 drivers/input/ff-core.c      |  90 ++++------
 drivers/input/ff-memless.c   |  17 +-
 drivers/input/input-mt.c     |  34 ++--
 drivers/input/input-poller.c |   4 +-
 drivers/input/input.c        | 339 ++++++++++++++---------------------
 5 files changed, 184 insertions(+), 300 deletions(-)
Signature · 1 line
Dmitry