* [PATCH] mm: Removed @freeptr_offset to prevent doc warning
@ 2024-09-01 5:53 R Sundar
2024-09-01 6:18 ` R Sundar
2024-09-01 19:26 ` Vlastimil Babka
0 siblings, 2 replies; 4+ messages in thread
From: R Sundar @ 2024-09-01 5:53 UTC (permalink / raw)
To: Christoph Lameter, Pekka Enberg, David Rientjes, Joonsoo Kim,
Andrew Morton, Vlastimil Babka, Roman Gushchin, Hyeonggon Yoo
Cc: linux-mm, linux-kernel, 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 <prosunofficial@gmail.com>
---
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
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mm: Removed @freeptr_offset to prevent doc warning
2024-09-01 5:53 [PATCH] mm: Removed @freeptr_offset to prevent doc warning R Sundar
@ 2024-09-01 6:18 ` R Sundar
2024-09-01 19:26 ` Vlastimil Babka
1 sibling, 0 replies; 4+ messages in thread
From: R Sundar @ 2024-09-01 6:18 UTC (permalink / raw)
To: Christoph Lameter, Pekka Enberg, David Rientjes, Joonsoo Kim,
Andrew Morton, Vlastimil Babka, Roman Gushchin, Hyeonggon Yoo
Cc: linux-mm, linux-kernel
On 01/09/24 11:23, 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@gmail.com>
> ---
> 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
Sorry , Forget to mention.
This patch is for linux-next repository.
Thanks,
Sundar
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mm: Removed @freeptr_offset to prevent doc warning
2024-09-01 5:53 [PATCH] mm: Removed @freeptr_offset to prevent doc warning R Sundar
2024-09-01 6:18 ` R Sundar
@ 2024-09-01 19:26 ` Vlastimil Babka
2024-09-02 2:12 ` R Sundar
1 sibling, 1 reply; 4+ messages in thread
From: Vlastimil Babka @ 2024-09-01 19:26 UTC (permalink / raw)
To: R Sundar, Christoph Lameter, Pekka Enberg, David Rientjes,
Joonsoo Kim, Andrew Morton, Roman Gushchin, Hyeonggon Yoo,
Christian Brauner
Cc: linux-mm, linux-kernel
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@gmail.com>
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@intel.com/
> ---
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mm: Removed @freeptr_offset to prevent doc warning
2024-09-01 19:26 ` Vlastimil Babka
@ 2024-09-02 2:12 ` R Sundar
0 siblings, 0 replies; 4+ messages in thread
From: R Sundar @ 2024-09-02 2:12 UTC (permalink / raw)
To: Vlastimil Babka, Christoph Lameter, Pekka Enberg, David Rientjes,
Joonsoo Kim, Andrew Morton, Roman Gushchin, Hyeonggon Yoo,
Christian Brauner
Cc: linux-mm, linux-kernel
On 02/09/24 00:56, Vlastimil Babka wrote:
> 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@gmail.com>
>
> 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@intel.com/
>
Hi,
Thanks for adding recipients.
Sent a v2 patch after adding Reported-by and Closes Tag.
https://lore.kernel.org/all/20240902020555.11506-1-prosunofficial@gmail.com/
Thanks,
Sundar
>> ---
>> 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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-02 2:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-01 5:53 [PATCH] mm: Removed @freeptr_offset to prevent doc warning R Sundar
2024-09-01 6:18 ` R Sundar
2024-09-01 19:26 ` Vlastimil Babka
2024-09-02 2:12 ` R Sundar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox