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: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20251110/202511101911.9c0ewxw1-lkp@i...) compiler: aarch64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251110/202511101911.9c0ewxw1-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/202511101911.9c0ewxw1-lkp@intel.com/ All errors (new ones prefixed by >>): mm/shmem.c: In function 'shmem_swapin_cluster':
mm/shmem.c:1699:51: error: passing argument 3 of 'swap_cluster_readahead' from incompatible pointer type [-Wincompatible-pointer-types] 1699 | folio = swap_cluster_readahead(swap, gfp, mpol, ilx); | ^~~~ | | | struct mempolicy * In file included from mm/shmem.c:43: mm/swap.h:102:66: note: expected 'struct vm_fault *' but argument is of type 'struct mempolicy *' 102 | gfp_t gfp_mask, struct vm_fault *vmf) | ~~~~~~~~~~~~~~~~~^~~ mm/shmem.c:1699:17: error: too many arguments to function 'swap_cluster_readahead'; expected 3, have 4 1699 | folio = swap_cluster_readahead(swap, gfp, mpol, ilx); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~ mm/swap.h:101:29: note: declared here 101 | static inline struct folio *swap_cluster_readahead(swp_entry_t entry, | ^~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for ARCH_SUPPORTS_SCHED_SOFT_QUOTA Depends on [n]: CGROUPS [=n] Selected by [y]: - ARM64 [=y] WARNING: unmet direct dependencies detected for HALTPOLL_CPUIDLE Depends on [n]: CPU_IDLE [=n] && ARCH_CPUIDLE_HALTPOLL [=y] && ARCH_HAS_OPTIMIZED_POLL [=y] Selected by [y]: - ARM64 [=y] vim +/swap_cluster_readahead +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