* [gourryinverse:djhacks 18/38] mm/gup.c:2418:7: error: call to undeclared function 'folio_longterm_pin_forbidden'; ISO C99 and later do not support implicit function declarations
@ 2026-07-31 19:08 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-31 19:08 UTC (permalink / raw)
To: Gregory Price; +Cc: llvm, oe-kbuild-all
tree: https://github.com/gourryinverse/linux djhacks
head: 09de2580129cf36e7ed3de65282a91fe3cc29e24
commit: b44aca34818ebf7e2ef962e85b23c05bb7882c05 [18/38] mm: add N_MEMORY_LTPIN node state for longterm-pin eligible nodes
config: hexagon-randconfig-002-20260801 (https://download.01.org/0day-ci/archive/20260801/202608010245.2xosUIRm-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260801/202608010245.2xosUIRm-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608010245.2xosUIRm-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/gup.c:2418:7: error: call to undeclared function 'folio_longterm_pin_forbidden'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2418 | if (folio_longterm_pin_forbidden(folio))
| ^
1 error generated.
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-31 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-31 19:08 [gourryinverse:djhacks 18/38] mm/gup.c:2418:7: error: call to undeclared function 'folio_longterm_pin_forbidden'; ISO C99 and later do not support implicit function declarations kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.