Re: mmotm 2020-06-25-20-36 uploaded (mm/memory-failure.c)

From: Andrew Morton
Date: Fri Jun 26 2020 - 23:41:54 EST


On Fri, 26 Jun 2020 15:09:08 -0700 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

> On 6/25/20 8:37 PM, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> > The mm-of-the-moment snapshot 2020-06-25-20-36 has been uploaded to
> >
> > http://www.ozlabs.org/~akpm/mmotm/
> >
> > mmotm-readme.txt says
> >
> > README for mm-of-the-moment:
> >
> > http://www.ozlabs.org/~akpm/mmotm/
> >
> > This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> > more than once a week.
> >
> > You will need quilt to apply these patches to the latest Linus release (5.x
> > or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
> > http://ozlabs.org/~akpm/mmotm/series
> >
>
> when CONFIG_MIGRATION is not set/enabled:
>
> ../mm/memory-failure.c: In function ânew_pageâ:
> ../mm/memory-failure.c:1692: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);
> ^~~~~~~~~~~~~~~~~~~~~~
> alloc_migrate_target
> ../mm/memory-failure.c:1692:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
> return alloc_migration_target(p, (unsigned long)&mtc);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks.

Appears to be due to Joonsoo Kim's "mm/migrate: make a standard
migration target allocation function".