Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [frederic-dynticks:task/work 6/6] kernel/sched/isolation.c:256:2: error: call to undeclared function 'lru_add_and_bh_lrus_drain'; ISO C99 and later do not support implicit function declarations
@ 2025-02-07  6:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-07  6:21 UTC (permalink / raw)
  To: Frederic Weisbecker; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git task/work
head:   3a5b43d6075ec915d0bf17d38d15f9c75d05dc26
commit: 3a5b43d6075ec915d0bf17d38d15f9c75d05dc26 [6/6] mm: Drain LRUs upon resume to userspace on nohz_full CPUs
config: arm64-randconfig-003-20250207 (https://download.01.org/0day-ci/archive/20250207/202502071437.L4azQDHg-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250207/202502071437.L4azQDHg-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/202502071437.L4azQDHg-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from kernel/sched/build_utility.c:104:
>> kernel/sched/isolation.c:256:2: error: call to undeclared function 'lru_add_and_bh_lrus_drain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
           lru_add_and_bh_lrus_drain();
           ^
   1 error generated.


vim +/lru_add_and_bh_lrus_drain +256 kernel/sched/isolation.c

   252	
   253	#if defined(CONFIG_NO_HZ_FULL)
   254	static void isolated_task_work(struct callback_head *head)
   255	{
 > 256		lru_add_and_bh_lrus_drain();
   257	}
   258	

-- 
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:[~2025-02-07  6:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-07  6:21 [frederic-dynticks:task/work 6/6] kernel/sched/isolation.c:256:2: error: call to undeclared function 'lru_add_and_bh_lrus_drain'; ISO C99 and later do not support implicit function declarations kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox