devres: Provide krealloc_array
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 10 repliesIn review
- v34 patches 3 repliesSuperseded
- v24 patches 7 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 3 replies | Superseded |
Changes in v4 from the cover letter
* Rebase onto v6.4-rc1
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | devres: Provide krealloc_arrayDocumentation/ include/ | +12 | 10 replies | |
| 2/4 | hwmon: pmbus: Use devm_krealloc_arraydrivers/ | +3 | 0 replies | |
| 3/4 | iio: adc: Use devm_krealloc_arraydrivers/ drivers/ | +10 | 0 replies | |
| 4/4 | serial: qcom_geni: Comment use of devm_krealloc rather than devm_krealloc_arraydrivers/ | +5 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Jonathan Cameron | Guenter Roeck |
|---|---|---|
| 1/4 | R-b | |
| 2/4 | R-b | A-b |
| 3/4 | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/4] devres: Provide krealloc_array
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(-)
Signature · 1 line
2.34.1