[PATCH] slab: Adjust comment after refactoring of gfp.h

Thorsten Scherer posted 1 patch 2 years, 11 months ago
include/linux/slab.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] slab: Adjust comment after refactoring of gfp.h
Posted by Thorsten Scherer 2 years, 11 months ago
Reflect the change from the commit below.

Fixes: cb5a065b4ea9 ("headers/deps: mm: Split <linux/gfp_types.h> out of <linux/gfp.h>")
Signed-off-by: Thorsten Scherer <t.scherer@eckelmann.de>
---
 include/linux/slab.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/slab.h b/include/linux/slab.h
index 45af70315a94..87d687c43d8c 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -526,7 +526,7 @@ void *kmalloc_large_node(size_t size, gfp_t flags, int node) __assume_page_align
  * to be at least to the size.
  *
  * The @flags argument may be one of the GFP flags defined at
- * include/linux/gfp.h and described at
+ * include/linux/gfp_types.h and described at
  * :ref:`Documentation/core-api/mm-api.rst <mm-api-gfp-flags>`
  *
  * The recommended usage of the @flags is described at
-- 
2.38.0
Re: [PATCH] slab: Adjust comment after refactoring of gfp.h
Posted by Vlastimil Babka 2 years, 11 months ago
On 3/12/23 13:23, Thorsten Scherer wrote:
> Reflect the change from the commit below.
> 
> Fixes: cb5a065b4ea9 ("headers/deps: mm: Split <linux/gfp_types.h> out of <linux/gfp.h>")
> Signed-off-by: Thorsten Scherer <t.scherer@eckelmann.de>

Thanks, added to slab/for-6.4/trivial

> ---
>  include/linux/slab.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/slab.h b/include/linux/slab.h
> index 45af70315a94..87d687c43d8c 100644
> --- a/include/linux/slab.h
> +++ b/include/linux/slab.h
> @@ -526,7 +526,7 @@ void *kmalloc_large_node(size_t size, gfp_t flags, int node) __assume_page_align
>   * to be at least to the size.
>   *
>   * The @flags argument may be one of the GFP flags defined at
> - * include/linux/gfp.h and described at
> + * include/linux/gfp_types.h and described at
>   * :ref:`Documentation/core-api/mm-api.rst <mm-api-gfp-flags>`
>   *
>   * The recommended usage of the @flags is described at
Re: [PATCH] slab: Adjust comment after refactoring of gfp.h
Posted by Hyeonggon Yoo 2 years, 11 months ago
On Sun, Mar 12, 2023 at 01:23:15PM +0100, Thorsten Scherer wrote:
> Reflect the change from the commit below.
> 
> Fixes: cb5a065b4ea9 ("headers/deps: mm: Split <linux/gfp_types.h> out of <linux/gfp.h>")
> Signed-off-by: Thorsten Scherer <t.scherer@eckelmann.de>
> ---
>  include/linux/slab.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/slab.h b/include/linux/slab.h
> index 45af70315a94..87d687c43d8c 100644
> --- a/include/linux/slab.h
> +++ b/include/linux/slab.h
> @@ -526,7 +526,7 @@ void *kmalloc_large_node(size_t size, gfp_t flags, int node) __assume_page_align
>   * to be at least to the size.
>   *
>   * The @flags argument may be one of the GFP flags defined at
> - * include/linux/gfp.h and described at
> + * include/linux/gfp_types.h and described at
>   * :ref:`Documentation/core-api/mm-api.rst <mm-api-gfp-flags>`

Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>

>   *
>   * The recommended usage of the @flags is described at
> -- 
> 2.38.0
>