Re: [hnaz-mm:master 237/343] arch/powerpc/mm/book3s64/pgtable.c:540:15: warning: no previous prototype for 'memremap_compat_align'

From: Matthew Wilcox
Date: Thu Feb 17 2022 - 17:07:26 EST


On Thu, Feb 17, 2022 at 12:55:53PM -0800, Andrew Morton wrote:
> On Fri, 18 Feb 2022 03:46:17 +0800 kernel test robot <lkp@xxxxxxxxx> wrote:
> > >> arch/powerpc/mm/book3s64/pgtable.c:540:15: warning: no previous prototype for 'memremap_compat_align' [-Wmissing-prototypes]
> > 540 | unsigned long memremap_compat_align(void)
> > | ^~~~~~~~~~~~~~~~~~~~~
>
> Thanks, I did this.

I guess this is now my responsibility? Folded that fix in and pushed
out 8cbcadaf5aef to infradead/for-next

> --- a/arch/powerpc/mm/book3s64/pgtable.c~mm-dont-include-linux-memremaph-in-linux-mmh-fix-2-fix
> +++ a/arch/powerpc/mm/book3s64/pgtable.c
> @@ -6,6 +6,7 @@
> #include <linux/sched.h>
> #include <linux/mm_types.h>
> #include <linux/memblock.h>
> +#include <linux/memremap.h>
> #include <linux/debugfs.h>
> #include <misc/cxl-base.h>
>
> _
>
>
>