Skip to content

Introduce devm_kmemdup_array() helper

Raag Jadav linux-gpio linux-input linux-sound lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 18 repliesIn review
  2. v15 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6devres: Introduce devm_kmemdup_array()include/linux/device.h+5 -01 reply
2/6pinctrl: intel: copy communities using devm_kmemdup_array()drivers/pinctrl/intel/pinctrl-intel.c+2 -41 reply
3/6pinctrl: tangier: use devm_kmemdup_array()drivers/pinctrl/intel/pinctrl-tangier.c+2 -31 reply
4/6pinctrl: pxa2xx: use devm_kmemdup_array()drivers/pinctrl/pxa/pinctrl-pxa2xx.c+4 -40 replies
5/6input: sparse-keymap: use devm_kmemdup_array()drivers/input/sparse-keymap.c+1 -21 reply
6/6ASoC: Intel: avs: use devm_kmemdup_array()sound/soc/intel/avs/boards/da7219.c sound/soc/intel/avs/boards/es8336.c sound/soc/intel/avs/boards/nau8825.c +5 more+15 -81 reply

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMark BrownAndy ShevchenkoDmitry TorokhovAmadeusz SławińskiLinus Walleij
SeriesR-b
1/6R-b
2/6R-b
3/6R-b
4/6
5/6A-b
6/6A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] Introduce devm_kmemdup_array() helper

This series introduces a more robust and cleaner devm_kmemdup_array() helper and uses it across drivers.

v2: Use size_mul() for multiplication (Dmitry)
Update commit message (Dmitry)

Raag Jadav (6):
devres: Introduce devm_kmemdup_array()
pinctrl: intel: copy communities using devm_kmemdup_array()
pinctrl: tangier: use devm_kmemdup_array()
pinctrl: pxa2xx: use devm_kmemdup_array()
input: sparse-keymap: use devm_kmemdup_array()
ASoC: Intel: avs: use devm_kmemdup_array()

 drivers/input/sparse-keymap.c           | 3 +--
 drivers/pinctrl/intel/pinctrl-intel.c   | 6 ++----
 drivers/pinctrl/intel/pinctrl-tangier.c | 5 ++---
 drivers/pinctrl/pxa/pinctrl-pxa2xx.c    | 8 ++++----
 include/linux/device.h                  | 5 +++++
 sound/soc/intel/avs/boards/da7219.c     | 3 ++-
 sound/soc/intel/avs/boards/es8336.c     | 3 ++-
 sound/soc/intel/avs/boards/nau8825.c    | 3 ++-
 sound/soc/intel/avs/boards/rt274.c      | 3 ++-
 sound/soc/intel/avs/boards/rt286.c      | 3 ++-
 sound/soc/intel/avs/boards/rt298.c      | 3 ++-
 sound/soc/intel/avs/boards/rt5663.c     | 3 ++-
 sound/soc/intel/avs/boards/rt5682.c     | 2 +-
 13 files changed, 29 insertions(+), 21 deletions(-)
Signature · 1 line
2.35.3