It is similar to kmemdup() but takes a number of elements to duplicate and their size.
The i915 DRM driver started to use it in Linux 6.12.
This is part of the update of DRM drivers to Linux 6.12.
Sponsored by: The FreeBSD Foundation
Differential D56444
linuxkpi: Add `kmemdup_array()` Authored by dumbbell on Thu, Apr 16, 9:06 PM. Tags None Referenced Files
Details
It is similar to kmemdup() but takes a number of elements to duplicate and their size. The i915 DRM driver started to use it in Linux 6.12. This is part of the update of DRM drivers to Linux 6.12. Sponsored by: The FreeBSD Foundation
Diff Detail
|