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

From: Stephen Rothwell
Date: Fri Jul 17 2020 - 21:32:22 EST


Hi Randy,

On Fri, 17 Jul 2020 08:35:45 -0700 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> 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/20200717213127.3bd426e1@xxxxxxxxxxxxxxxx/

> ../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/20200709191111.0b63f84d@xxxxxxxxxxxxxxxx/20: warning: âhugetlb_cmaâ defined but not used [-Wunused-variable]
> static struct cma *hugetlb_cma[MAX_NUMNODES];
> ^~~~~~~~~~~

Reported here: https://lore.kernel.org/lkml/20200709191111.0b63f84d@xxxxxxxxxxxxxxxx/

--
Cheers,
Stephen Rothwell

Attachment: pgp5EWTPwe97j.pgp
Description: OpenPGP digital signature