Implement devm_kmemdup_array() using devm_kmemdup() in order to
prepare for Linux v7.0 based drivers.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential D56396
LinuxKPI: implement devm_kmemdup_array() Authored by bz on Tue, Apr 14, 3:35 PM. Tags None Referenced Files
Details
Implement devm_kmemdup_array() using devm_kmemdup() in order to Sponsored by: The FreeBSD Foundation
Diff Detail
Event TimelineComment Actions The devm_kmemdup*() functions are defined in <linux/device/devres.h>, included from <linux/device.h> in 7.0. Did you consider adding them to <linux/device/devres.h>? Comment Actions No, I haven't checked what Linux does for this. |