mbox series

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

Message ID 20241123200527.7830-1-raag.jadav@intel.com (mailing list archive)
Headers show
Series Introduce devm_kmemdup_array() helper | expand

Message

Raag Jadav Nov. 23, 2024, 8:05 p.m. UTC
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(-)