Re: [PATCH v2 3/3] Documentation: deprecated.rst: kmalloc-family: mark argument as optional
From: Geert Uytterhoeven
Date: Wed Apr 22 2026 - 03:18:49 EST
Hi Manuel,
Thanks for your patch!
On Tue, 21 Apr 2026 at 20:09, Manuel Ebner <manuelebner@xxxxxxxxxxx> wrote:
> put the optional argument (gfp) in square brackets
>
> eg. ptr = kmalloc_obj(*ptr, gfp);
> -> ptr = kmalloc_obj(*ptr, [gfp]);
Shouldn't that be "[, gfp]", e.g.
kmalloc_obj(*ptr [, gfp]);
everywhere?
> Signed-off-by: Manuel Ebner <manuelebner@xxxxxxxxxxx>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds