[lkml]   [2021]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectlinux-next: build failure after merge of the akpm-current tree
Hi all,

After merging the akpm-current tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

mm/memory_hotplug.c: In function 'move_pfn_range_to_zone':
mm/memory_hotplug.c:772:24: error: 'ZONE_DEVICE' undeclared (first use in this function)
772 | if (zone_idx(zone) == ZONE_DEVICE) {
| ^~~~~~~~~~~

Caused by commit

e821cf25cfee ("mm: teach pfn_to_online_page() about ZONE_DEVICE section collisions")

I applied the patch from Randy Dunlap for today.

That, however, lead to this warning:

mm/memory_hotplug.c:730:13: warning: 'section_taint_zone_device' defined but not used [-Wunused-function]
730 | static void section_taint_zone_device(unsigned long pfn)
| ^~~~~~~~~~~~~~~~~~~~~~~~~

Stephen Rothwell
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2021-01-20 06:33    [W:0.043 / U:0.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site