On 10/6/26 11:20, Kees Cook wrote:
> kmem_buckets_create() had the same sentence about calling context as
> kmem_cache_create(), but lacked the "Context:" prefix, so kernel-doc
> rendered in the body instead of as a "context" section.
>
> Give it the missing prefix. Additionally fix the "a interrupt" typo
> __kmem_cache_create_args() had.
>
> Fixes: b32801d1255be ("mm/slab: Introduce kmem_buckets_create() and family")
> Assisted-by: LLM
> Reviewed-by: Harry Yoo (Meta) <[email protected]>
> Acked-by: Pedro Falcato <[email protected]>
> Reviewed-by: Hao Li <[email protected]>
> Signed-off-by: Kees Cook <[email protected]>
Acked-by: Vlastimil Babka (SUSE) <[email protected]>
> ---
> mm/slab_common.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/mm/slab_common.c b/mm/slab_common.c
> index b19ba1b31484..270408ce5a9d 100644
> --- a/mm/slab_common.c
> +++ b/mm/slab_common.c
> @@ -311,7 +311,7 @@ __kmem_cache_alias(const char *name, unsigned int size,
> slab_flags_t flags,
> * &SLAB_TYPESAFE_BY_RCU - Slab page (not individual objects) freeing delayed
> * by a grace period - see the full description before using.
> *
> - * Context: Cannot be called within a interrupt, but can be interrupted.
> + * Context: Cannot be called within an interrupt, but can be interrupted.
> *
> * Return: a pointer to the cache on success, NULL on failure.
> */
> @@ -422,7 +422,7 @@ static struct kmem_cache *kmem_buckets_cache
> __ro_after_init;
> * to/from userspace.
> * @ctor: A constructor for the objects, run when new allocations are made.
> *
> - * Cannot be called within an interrupt, but can be interrupted.
> + * Context: Cannot be called within an interrupt, but can be interrupted.
> *
> * Return: a pointer to the cache on success, NULL on failure. When
> * CONFIG_SLAB_BUCKETS is not enabled, ZERO_SIZE_PTR is returned, and