tree: https://github.com/ammarfaizi2/linux-block akpm/mm/mm-unstable head: ad898cee3835067e7688afe42a60f796d823db1d commit: e1f5015579a654dc90f3c5af6ef446a19c9bb55c [39/119] mm/memremap_pages: replace zone_device_page_init() with pgmap_request_folios() config: x86_64-rhel-8.3-func compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/e1f5015579a654dc90f3c5af6ef446a19c9bb55c git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block akpm/mm/mm-unstable git checkout e1f5015579a654dc90f3c5af6ef446a19c9bb55c # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/memremap.c:521:6: warning: no previous prototype for 'zone_device_page_init' [-Wmissing-prototypes] 521 | void zone_device_page_init(struct page *page) | ^~~~~~~~~~~~~~~~~~~~~ vim +/zone_device_page_init +521 mm/memremap.c 75e55d8a107edb2 Christoph Hellwig 2022-02-16 520 ef233450898f889 Alistair Popple 2022-09-28 @521 void zone_device_page_init(struct page *page) ef233450898f889 Alistair Popple 2022-09-28 522 { 0dc45ca1ce18900 Alistair Popple 2022-09-28 523 /* 0dc45ca1ce18900 Alistair Popple 2022-09-28 524 * Drivers shouldn't be allocating pages after calling 0dc45ca1ce18900 Alistair Popple 2022-09-28 525 * memunmap_pages(). 0dc45ca1ce18900 Alistair Popple 2022-09-28 526 */ 0dc45ca1ce18900 Alistair Popple 2022-09-28 527 WARN_ON_ONCE(!percpu_ref_tryget_live(&page->pgmap->ref)); ef233450898f889 Alistair Popple 2022-09-28 528 set_page_count(page, 1); ef233450898f889 Alistair Popple 2022-09-28 529 lock_page(page); ef233450898f889 Alistair Popple 2022-09-28 530 } ef233450898f889 Alistair Popple 2022-09-28 531 EXPORT_SYMBOL_GPL(zone_device_page_init); ef233450898f889 Alistair Popple 2022-09-28 532 :::::: The code at line 521 was first introduced by commit :::::: ef233450898f8893dafa193a9f3211fa077a3d05 mm: free device private pages have zero refcount :::::: TO: Alistair Popple :::::: CC: Andrew Morton -- 0-DAY CI Kernel Test Service https://01.org/lkp