[gourryinverse:scratch/gourry/managed_nodes/node_features_v6 18/37] mm/gup.c:2418:21: error: implicit declaration of function 'folio_longterm_pin_forbidden'
kernel test robot <[email protected]> Fri, 31 Jul 2026 17:20:51 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/gourryinverse/linux scratch/gourry/managed_nodes/node_features_v6 head: 2a91be748ebcfd653985fa1c6c41371d45953e93 commit: b44aca34818ebf7e2ef962e85b23c05bb7882c05 [18/37] mm: add N_MEMORY_LTPIN node state for longterm-pin eligible nodes config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20260731/[email protected]/config) compiler: alpha-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/[email protected]/reproduce) 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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): mm/gup.c: In function 'pofs_has_ltpin_forbidden': >> mm/gup.c:2418:21: error: implicit declaration of function 'folio_longterm_pin_forbidden' [-Wimplicit-function-declaration] 2418 | if (folio_longterm_pin_forbidden(folio)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/folio_longterm_pin_forbidden +2418 mm/gup.c 2409 2410 /* True if any folio sits on a node that doesn't support longterm pinning */ 2411 static bool pofs_has_ltpin_forbidden(struct pages_or_folios *pofs) 2412 { 2413 struct folio *folio; 2414 long i = 0; 2415 2416 for (folio = pofs_get_folio(pofs, i); folio; 2417 folio = pofs_next_folio(folio, pofs, &i)) { > 2418 if (folio_longterm_pin_forbidden(folio)) 2419 return true; 2420 } 2421 return false; 2422 } 2423 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki