2022-07-09 10:18:41

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: [PATCH v3 11/21] kfence: fix a kernel-doc parameter

The kernel-doc markup is missing the slab pointer description:

include/linux/kfence.h:221: warning: Function parameter or member 'slab' not described in '__kfence_obj_info'

Document it.

Reviewed-by: Marco Elver <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---

To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
See [PATCH v3 00/21] at: https://lore.kernel.org/all/[email protected]/

include/linux/kfence.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/kfence.h b/include/linux/kfence.h
index 726857a4b680..9c242f4e9fab 100644
--- a/include/linux/kfence.h
+++ b/include/linux/kfence.h
@@ -210,6 +210,7 @@ struct kmem_obj_info;
* __kfence_obj_info() - fill kmem_obj_info struct
* @kpp: kmem_obj_info to be filled
* @object: the object
+ * @slab: pointer to slab
*
* Return:
* * false - not a KFENCE object
--
2.36.1