HomeFreeBSD

LinuxKPI: implement devm_kmemdup_array()

Description

LinuxKPI: implement devm_kmemdup_array()

Implement devm_kmemdup_array() using devm_kmemdup() in order to
prepare for Linux v7.0 based drivers.

Sponsored by: The FreeBSD Foundation
Reviewed by: dumbbell
Differential Revision: https://reviews.freebsd.org/D56396

(cherry picked from commit f1834d03af617a93993056bb902082452673f89f)

Details

Provenance
bzAuthored on Apr 14 2026, 1:35 PM
Reviewer
dumbbell
Differential Revision
D56396: LinuxKPI: implement devm_kmemdup_array()
Parents
rGe6f14601d39c: LinuxKPI: add kmalloc_obj[s], kzalloc_obj[s], and kzalloc_flex
Branches
Unknown
Tags
Unknown