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

From: Randy Dunlap
Date: Fri Jun 26 2020 - 18:09:37 EST


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);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>