mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
devres: Provide krealloc_array
There is no krealloc_array equivalent in devres. Users would have to do their own multiplication overflow check so provide one. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: James Clark <james.clark@arm.com> Link: https://lore.kernel.org/r/20230509094942.396150-2-james.clark@arm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7877cb91f1
commit
d388f06ace
@@ -364,6 +364,7 @@ MEM
|
||||
devm_kmalloc_array()
|
||||
devm_kmemdup()
|
||||
devm_krealloc()
|
||||
devm_krealloc_array()
|
||||
devm_kstrdup()
|
||||
devm_kstrdup_const()
|
||||
devm_kvasprintf()
|
||||
|
||||
Reference in New Issue
Block a user