[PATCH v1 0/5] Introduce devm_kmemdup_array() helper

Raag Jadav
2024-11-23T20:06:09Z

This series introduces devm_kmemdup_array() helper with multiplication
overflow check and uses it across drivers.

Raag Jadav (5):
devres: Introduce devm_kmemdup_array()
pinctrl: intel: copy communities using 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/pxa/pinctrl-pxa2xx.c | 8 ++++----
include/linux/device.h | 10 ++++++++++
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 +-
12 files changed, 32 insertions(+), 18 deletions(-)

--
2.35.3