On 15.09.26 00:32, Kees Cook wrote: > 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). > > Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Danilo Krummrich <[email protected]>
- Re: [PATCH 2/2] devres: Provide kmalloc_obj*-style API ... Greg Kroah-Hartman
- Re: [PATCH 2/2] devres: Provide kmalloc_obj*-style... Kees Cook
- Re: [PATCH 2/2] devres: Provide kmalloc_obj*-style... Danilo Krummrich

