diff options
| author | Kees Cook <kees@kernel.org> | 2026-09-14 15:32:17 -0700 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2026-10-05 17:50:53 -0700 |
| commit | 29a86e8818a8b7043643b85b0603eb9f4c225b55 (patch) | |
| tree | 5ca1548c4131d15400022955c8b074aa9cf2c3ca /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | ff566742e9cf59b0518ecf29f0572f0d9b114d3a (diff) | |
| download | linux-next-29a86e8818a8b7043643b85b0603eb9f4c225b55.tar.gz linux-next-29a86e8818a8b7043643b85b0603eb9f4c225b55.zip | |
devres: Provide kmalloc_obj*-style API for devm_kmalloc
Mirroring the type-based allocation now in use for the kmalloc family of
APIs, provide the same for the devm_kmalloc family of APIs. This will
allow for future plumbing of type information (e.g. alignment) into the
underlying allocations. This immediately gains type check on return
values (instead of the prior "void *" return type).
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20260914223219.901347-2-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
