tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 4ca786ae6681b90b0ec3f4c55c89d12f835f8944 commit: 07108d5bfeebafd43f2c2c23d9cba13cadd2fe79 [973/1443] fsdax: introduce pgmap_request_folios() config: x86_64-rhel-8.3-rust compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=07108d5bfeebafd43f2c2c23d9cba13cadd2fe79 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 07108d5bfeebafd43f2c2c23d9cba13cadd2fe79 # save the config file mkdir build_dir && cp config build_dir/.config 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:533:13: warning: function 'folio_span_valid' is not needed and will not be emitted [-Wunneeded-internal-declaration] static bool folio_span_valid(struct dev_pagemap *pgmap, struct folio *folio, ^ 1 warning generated. vim +/folio_span_valid +533 mm/memremap.c 532 > 533 static bool folio_span_valid(struct dev_pagemap *pgmap, struct folio *folio, 534 int nr_folios) 535 { 536 unsigned long pfn_start, pfn_end; 537 538 pfn_start = page_to_pfn(folio_page(folio, 0)); 539 pfn_end = pfn_start + (1 << folio_order(folio)) * nr_folios - 1; 540 541 if (pgmap != xa_load(&pgmap_array, pfn_start)) 542 return false; 543 544 if (pfn_end > pfn_start && pgmap != xa_load(&pgmap_array, pfn_end)) 545 return false; 546 547 return true; 548 } 549 -- 0-DAY CI Kernel Test Service https://01.org/lkp