mm: Removed @freeptr_offset to prevent doc warning
Subsystems (2)
PATCH 1/1 mm: Removed @freeptr_offset to prevent doc warning
./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.
--- mm/slab_common.c | 1 - 1 file changed, 1 deletion(-)
mm/slab_common.c +0 -1
@@ -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
Signature · 1 line
2.34.1
Quoted 13 lines · R Sundar
./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 <[email protected]>--- mm/slab_common.c | 1 - 1 file changed, 1 deletion(-)mm/slab_common.c +0
-0
mm/slab_common.c do_kmem_cache_create_usercopy(const char *name, · line 358
Quoted 7 lines
mm/slab_common.c +0
-1@@ -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
Sorry , Forget to mention.
This patch is for linux-next repository.
Thanks,
Sundar
Quoted 4 lines · R Sundar
./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 <[email protected]>
This is for Christian's vfs tree, so added him to recipients. There was also a lkp report:
https://lore.kernel.org/all/[email protected]/
Quoted 16 lines
--- mm/slab_common.c | 1 - 1 file changed, 1 deletion(-)mm/slab_common.c +0
-1@@ -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
Quoted 10 lines · Vlastimil Babka
Quoted 4 lines · R Sundar
./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 <[email protected]>This is for Christian's vfs tree, so added him to recipients. There was also a lkp report:
https://lore.kernel.org/all/[email protected]/
Hi,
Thanks for adding recipients.
Sent a v2 patch after adding Reported-by and Closes Tag.
https://lore.kernel.org/all/[email protected]/
Thanks,
Sundar
Quoted 17 lines
Quoted 16 lines
--- mm/slab_common.c | 1 - 1 file changed, 1 deletion(-)mm/slab_common.c +0
-1@@ -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