lkml.org 
[lkml]   [2023]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] devres: Provide krealloc_array
Date
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.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

\
 
 \ /
  Last update: 2023-03-27 00:52    [W:0.114 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site