Re: linux-next: Tree for Jul 6 (mm/memory_failure.c)

From: Joonsoo Kim
Date: Mon Jul 06 2020 - 20:35:24 EST


On Mon, Jul 06, 2020 at 09:59:06AM -0700, Randy Dunlap wrote:
> On 7/6/20 12:40 AM, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20200703:
> >
>
> on i386:
>
> when CONFIG_MIGRATION is not set/enabled:
>
> ../mm/memory-failure.c: In function ânew_pageâ:
> ../mm/memory-failure.c:1688:9: error: implicit declaration of function âalloc_migration_targetâ; did you mean âalloc_migrate_targetâ? [-Werror=implicit-function-declaration]
> return alloc_migration_target(p, (unsigned long)&mtc);
> ^~~~~~~~~~~~~~~~~~~~~~
>
>
> --
> ~Randy
> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Hello,

Thanks for reporting.

Below is the fix for this error.
Andrew, Could you squash this fix into the patch,
"mm-migrate-make-a-standard-target-allocation-function.patch"?

Thanks.


------------------->8-------------------