Re: [PATCH] mm: fix a comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/8/21 16:03, Yinan Zhang wrote:
> I have noticed that the previous macro is #ifndef CONFIG_SPARSEMEM.
> I think the comment of #else should be CONFIG_SPARSEMEM.

Right.

> Signed-off-by: Yinan Zhang <zhangyinan2019@xxxxxxxxxxxxxxxx>

Acked-by: Vlastimil Babka <vbabka@xxxxxxx>

> ---
>  mm/page_ext.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/page_ext.c b/mm/page_ext.c
> index dfb91653d..106079e67 100644
> --- a/mm/page_ext.c
> +++ b/mm/page_ext.c
> @@ -201,7 +201,7 @@ void __init page_ext_init_flatmem(void)
>  	panic("Out of memory");
>  }
>  
> -#else /* CONFIG_FLATMEM */
> +#else /* CONFIG_SPARSEMEM */
>  
>  struct page_ext *lookup_page_ext(const struct page *page)
>  {
> 





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux