Subject: Re: mmotm 2020-07-16-22-52 uploaded (mm/hugetlb.c)

From: Stephen Rothwell <[email-masked]>
Date: Sat, 18 Jul 2020 11:32:15 +1000

Hi Randy,

On Fri, 17 Jul 2020 08:35:45 -0700 Randy Dunlap <[email-masked]> wrote:
>
> on i386:
> 6 of 10 builds failed with:
> 
> ../mm/hugetlb.c:1302:20: error: redefinition of ‘destroy_compound_gigantic_page’
>  static inline void destroy_compound_gigantic_page(struct hstate *h,
>                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../mm/hugetlb.c:1223:13: note: previous definition of ‘destroy_compound_gigantic_page’ was here
>  static void destroy_compound_gigantic_page(struct hstate *h, struct page *page,
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reported here: https://lore.kernel.org/lkml/[email-masked]/

> ../mm/hugetlb.c:1223:13: warning: ‘destroy_compound_gigantic_page’ defined but not used [-Wunused-function]
> ../mm/hugetlb.c:50:https://lore.kernel.org/lkml/[email-masked]/20: warning: ‘hugetlb_cma’ defined but not used [-Wunused-variable]
>  static struct cma *hugetlb_cma[MAX_NUMNODES];
>                     ^~~~~~~~~~~

Reported here: https://lore.kernel.org/lkml/[email-masked]/

-- 
Cheers,
Stephen Rothwell