[PATCH v4 0/4] devres: Provide krealloc_array
James Clark
james.clark at arm.com
Tue May 9 02:49:37 PDT 2023
Changes since v3:
* Rebase onto v6.4-rc1
Changes since v2:
* Remove change in qcom_geni_serial.c in the last commmit and replace
it with a comment instead
* Whitespace fix
Changes since v1:
* Style fix
-----------------------
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.4-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: Comment use of devm_krealloc rather than
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 | 5 +++++
include/linux/device.h | 11 +++++++++++
6 files changed, 30 insertions(+), 19 deletions(-)
--
2.34.1
More information about the linux-arm-kernel
mailing list