Re: [PATCH] Documentation: Fix syntax of kmalloc_objs example in coding style doc
Kees Cook <[email protected]>
| Newsgroups | org.kernel.vger.workflows,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <202606011307.531C9CF878@keescook> |
On Fri, May 29, 2026 at 10:10:05AM +0200, Uwe Kleine-König wrote:
> The first parameter should match the variable that the allocated memory
> is assigned to. Fix the example accordingly, the one for kmalloc_obj got
> it right already.
>
> Fixes: 7c6d969d5349 ("Documentation: adopt new coding style of type-aware kmalloc-family")
> Signed-off-by: Uwe Kleine-König <[email protected]>
oops, thank you!
Reviewed-by: Kees Cook <[email protected]>
--
Kees Cook