Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mm, kfence: describe @slab parameter in __kfence_obj_info()

Sphinx reports kernel-doc warning:

WARNING: ./include/linux/kfence.h:220 function parameter 'slab' not described in '__kfence_obj_info'

Fix it by describing @slab parameter.

Link: https://lkml.kernel.org/r/20251219014006.16328-6-bagasdotme@gmail.com
Fixes: 2dfe63e61cc3 ("mm, kfence: support kmem_dump_obj() for KFENCE objects")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Acked-by: Marco Elver <elver@google.com>
Acked-by: David Hildenbrand (Red Hat) <david@kernel.org>
Acked-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Bagas Sanjaya and committed by
Andrew Morton
6cfab50e eb3f781a

+1
+1
include/linux/kfence.h
··· 211 211 * __kfence_obj_info() - fill kmem_obj_info struct 212 212 * @kpp: kmem_obj_info to be filled 213 213 * @object: the object 214 + * @slab: the slab 214 215 * 215 216 * Return: 216 217 * * false - not a KFENCE object