Re: [PATCH] mm: Removed @freeptr_offset to prevent doc warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/1/24 07:53, R Sundar wrote:
> ./mm/slab_common.c:385: warning: Excess function parameter 'freeptr_offset' description in 'kmem_cache_create_usercopy'
> Removed @freeptr_offset to fix above doc warning.  
> 
> Signed-off-by: R Sundar <prosunofficial@xxxxxxxxx>

This is for Christian's vfs tree, so added him to recipients.
There was also a lkp report:
https://lore.kernel.org/all/202408292249.5oUpnCbS-lkp@xxxxxxxxx/

> ---
>  mm/slab_common.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/mm/slab_common.c b/mm/slab_common.c
> index d48ef4fe1ea8..ad438ba62485 100644
> --- a/mm/slab_common.c
> +++ b/mm/slab_common.c
> @@ -353,7 +353,6 @@ do_kmem_cache_create_usercopy(const char *name,
>   * for copying to userspace
>   * @name: A string which is used in /proc/slabinfo to identify this cache.
>   * @size: The size of objects to be created in this cache.
> - * @freeptr_offset: Custom offset for the free pointer in RCU caches
>   * @align: The required alignment for the objects.
>   * @flags: SLAB flags
>   * @useroffset: Usercopy region offset





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux