Re: [PATCH] Docs/mm: fix documentation warning for GFP parameter in kmalloc_obj, kmalloc_objs and kmalloc_flex
Andrew Morton <[email protected]> Wed, 24 Jun 2026 18:48:56 -0700
| Newsgroups | dev.linux.lists.linux-kernel-mentees,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 19 Jun 2026 13:36:22 +0200 Jakov Novak <[email protected]> wrote: > Subject: [PATCH] Docs/mm: fix documentation warning for GFP parameter in kmalloc_obj, kmalloc_objs and kmalloc_flex Thanks. "mm/slab: ..." would be a better subject. > Date: Fri, 19 Jun 2026 13:36:22 +0200 > X-Mailer: git-send-email 2.54.0 > > Compiling the documentation currently gives the errors: > > WARNING: ./include/linux/slab.h:1100 Excess function parameter 'GFP' description in 'kmalloc_obj' > WARNING: ./include/linux/slab.h:1112 Excess function parameter 'GFP' description in 'kmalloc_objs' > WARNING: ./include/linux/slab.h:1127 Excess function parameter 'GFP' description in 'kmalloc_flex' > WARNING: ./include/linux/slab.h:1100 Excess function parameter 'GFP' description in 'kmalloc_obj' > WARNING: ./include/linux/slab.h:1112 Excess function parameter 'GFP' description in 'kmalloc_objs' > WARNING: ./include/linux/slab.h:1127 Excess function parameter 'GFP' description in 'kmalloc_flex' > > This effectively omits the GFP parameter from the current kernel > documentation. This patch marks the "..." parameter with the previous > description of the GFP parameter along with an "optional" tag in > parantheses. "parentheses". I'll assume that Vlastimil will be processing this patch.