summaryrefslogtreecommitdiff
path: root/mm/slab_common.c
diff options
context:
space:
mode:
authorR Sundar <prosunofficial@gmail.com>2024-09-02 07:35:55 +0530
committerChristian Brauner <brauner@kernel.org>2024-09-02 10:54:56 +0200
commit0f389adb4b80eef29920db2e2c99392aa5d06811 (patch)
tree784daeae85260f32db2e3772e8bde782cd741e44 /mm/slab_common.c
parentdfdc8d2565e82d726ce7d99c424c213ed17320f5 (diff)
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>
Diffstat (limited to 'mm/slab_common.c')
-rw-r--r--mm/slab_common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/slab_common.c b/mm/slab_common.c
index 887f6b9855dd..95db3702f8d6 100644
--- a/mm/slab_common.c
+++ b/mm/slab_common.c
@@ -341,7 +341,6 @@ out_unlock:
* 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