Re: mmotm 2020-08-24-16-06 uploaded (drivers/nvdimm/e820.c)

From: Randy Dunlap
Date: Mon Aug 24 2020 - 23:36:14 EST


On 8/24/20 4:07 PM, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> The mm-of-the-moment snapshot 2020-08-24-16-06 has been uploaded to
>
> https://www.ozlabs.org/~akpm/mmotm/
>
> mmotm-readme.txt says
>
> README for mm-of-the-moment:
>
> https://www.ozlabs.org/~akpm/mmotm/
>
> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> more than once a week.

on i386:

when MEMORY_HOTPLUG is not set and NUMA is not set:

../drivers/nvdimm/e820.c: In function ‘e820_register_one’:
../drivers/nvdimm/e820.c:24:12: error: implicit declaration of function ‘phys_to_target_node’; did you mean ‘set_page_node’? [-Werror=implicit-function-declaration]
int nid = phys_to_target_node(res->start);
^~~~~~~~~~~~~~~~~~~

In include/linux/memory_hotplug.h, phys_to_target_node() is hidden inside
CONFIG_MEMORY_HOTPLUG.


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