Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 0/4] devres: Provide krealloc_array
@ 2023-03-06 15:27 James Clark
  2023-03-06 15:27 ` [PATCH 1/4] " James Clark
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: James Clark @ 2023-03-06 15:27 UTC (permalink / raw)
  To: linux-kernel
  Cc: James Clark, Jonathan Corbet, Guenter Roeck, Jean Delvare,
	Anand Ashok Dumbre, Jonathan Cameron, Lars-Peter Clausen,
	Michal Simek, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Greg Kroah-Hartman, Jiri Slaby, linux-doc, linux-hwmon, linux-iio,
	linux-arm-kernel, linux-arm-msm, linux-serial

Hi,

I had a use for a devm realloc_array in a separate change, so I've
added one and updated all the obvious existing uses of it that I could
find. This is basically a copy paste of the one in slab.h

Applies to v6.3-rc1

Thanks
James

James Clark (4):
  devres: Provide krealloc_array
  hwmon: pmbus: Use devm_krealloc_array
  iio: adc: Use devm_krealloc_array
  serial: qcom_geni: Use devm_krealloc_array

 .../driver-api/driver-model/devres.rst          |  1 +
 drivers/hwmon/pmbus/pmbus_core.c                |  6 +++---
 drivers/iio/adc/xilinx-ams.c                    |  9 +++------
 drivers/iio/adc/xilinx-xadc-core.c              | 17 +++++++----------
 drivers/tty/serial/qcom_geni_serial.c           |  6 +++---
 include/linux/device.h                          | 10 ++++++++++
 6 files changed, 27 insertions(+), 22 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-03-09 15:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-06 15:27 [PATCH 0/4] devres: Provide krealloc_array James Clark
2023-03-06 15:27 ` [PATCH 1/4] " James Clark
2023-03-06 15:27 ` [PATCH 2/4] hwmon: pmbus: Use devm_krealloc_array James Clark
2023-03-06 15:30   ` Guenter Roeck
2023-03-06 15:27 ` [PATCH 3/4] iio: adc: " James Clark
2023-03-08 11:58   ` Michal Simek
2023-03-09 15:04     ` James Clark
2023-03-06 15:27 ` [PATCH 4/4] serial: qcom_geni: " James Clark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox