diff mbox series

[linux-next,v2] mm: Removed @freeptr_offset to prevent doc warning

Message ID 20240902020555.11506-1-prosunofficial@gmail.com (mailing list archive)
State New
Headers show
Series [linux-next,v2] mm: Removed @freeptr_offset to prevent doc warning | expand

Commit Message

R Sundar Sept. 2, 2024, 2:05 a.m. UTC
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>
---

v1 -> v2: Added Reported-by and Closes Tag

 mm/slab_common.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Christian Brauner Sept. 2, 2024, 8:56 a.m. UTC | #1
On Mon, 02 Sep 2024 07:35:55 +0530, R Sundar wrote:
> 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'
> 
> 

(I just love documentation so much that I document things twice?)

---

Applied to the vfs.file branch of the vfs/vfs.git tree.
Patches in the vfs.file branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.file

[1/1] mm: Removed @freeptr_offset to prevent doc warning
      https://git.kernel.org/vfs/vfs/c/6e016babce7c
diff mbox series

Patch

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