Skip to content

Commit 0f389ad

Browse files
prosun786brauner
authored andcommitted
mm: Removed @freeptr_offset to prevent doc warning
Removed @freeptr_offset to fix below doc warning. ./mm/slab_common.c:385: warning: Excess function parameter 'freeptr_offset' description in 'kmem_cache_create_usercopy' Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202408292249.5oUpnCbS-lkp@intel.com/ Signed-off-by: R Sundar <prosunofficial@gmail.com> Link: https://lore.kernel.org/r/20240902020555.11506-1-prosunofficial@gmail.com Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent dfdc8d2 commit 0f389ad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mm/slab_common.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ do_kmem_cache_create_usercopy(const char *name,
341341
* for copying to userspace
342342
* @name: A string which is used in /proc/slabinfo to identify this cache.
343343
* @size: The size of objects to be created in this cache.
344-
* @freeptr_offset: Custom offset for the free pointer in RCU caches
345344
* @align: The required alignment for the objects.
346345
* @flags: SLAB flags
347346
* @useroffset: Usercopy region offset

0 commit comments

Comments
 (0)