tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: f750bb89c43eea8f7e0424615516674781c72f7b commit: 2896144b31df6748c5d0e6df7991c4a31a54b371 [3126/3126] mempolicy: alloc_pages_mpol() for NUMA policy without vma config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20251110/202511101918.i2LTDdWk-lkp@i...) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251110/202511101918.i2LTDdWk-lkp@i...) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202511101918.i2LTDdWk-lkp@intel.com/ All errors (new ones prefixed by >>):
mm/shmem.c:1699:50: error: too many arguments to function call, expected 3, have 4 1699 | folio = swap_cluster_readahead(swap, gfp, mpol, ilx); | ~~~~~~~~~~~~~~~~~~~~~~ ^~~ mm/swap.h:101:29: note: 'swap_cluster_readahead' declared here 101 | static inline struct folio *swap_cluster_readahead(swp_entry_t entry, | ^ ~~~~~~~~~~~~~~~~~~ 102 | gfp_t gfp_mask, struct vm_fault *vmf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
vim +1699 mm/shmem.c 1687 1688 static struct mempolicy *shmem_get_pgoff_policy(struct shmem_inode_info *info, 1689 pgoff_t index, unsigned int order, pgoff_t *ilx); 1690 1691 static struct folio *shmem_swapin_cluster(swp_entry_t swap, gfp_t gfp, 1692 struct shmem_inode_info *info, pgoff_t index) 1693 { 1694 struct mempolicy *mpol; 1695 pgoff_t ilx; 1696 struct folio *folio; 1697 1698 mpol = shmem_get_pgoff_policy(info, index, 0, &ilx);
1699 folio = swap_cluster_readahead(swap, gfp, mpol, ilx); 1700 mpol_cond_put(mpol); 1701 1702 return folio; 1703 } 1704
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki