Files
u-boot/include/linux
Rasmus Villemoes 8c664d2135 lib/string.c: introduce memdup_nul() helper
This is completely analogous to the linux kernel's kmemdup_nul()
helper, apart from the lack of the gfp_t argument: Allocate a buffer
of size {len}+1, copy {len} bytes from the given buffer, and add a
final nul byte.

This pattern exists in a number of places, so this helper can reduce
some boilerplate code.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
2026-05-12 15:38:00 -06:00
..
2025-12-04 09:38:58 -06:00
2023-05-15 14:08:45 -04:00
2025-06-11 09:42:55 +02:00
2024-07-29 15:01:04 -06:00
2025-09-18 17:20:39 +02:00
2022-11-28 10:25:17 -05:00
2023-11-07 14:50:52 -05:00
2025-06-03 17:18:03 -06:00
2025-04-02 20:00:59 -06:00
2023-05-15 14:08:45 -04:00
2023-07-25 12:44:46 -04:00