linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 18/317] mm/vmscan.c:2966:14: error: implicit declaration of function 'lruvec_page_state_local'; did you mean 'lruvec_page_state'?
@ 2019-04-17  6:44 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-04-17  6:44 UTC (permalink / raw)
  To: Johannes Weiner; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 1916 bytes --]

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   def6be39d5629b938faba788330db817d19a04da
commit: 7e0f45f540683e6312df0cfbcf0c703f35fcf763 [18/317] mm: fix inactive list balancing between NUMA nodes and cgroups
config: riscv-tinyconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 8.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 7e0f45f540683e6312df0cfbcf0c703f35fcf763
        # save the attached .config to linux build tree
        GCC_VERSION=8.1.0 make.cross ARCH=riscv 

Note: the mmotm/master HEAD def6be39d5629b938faba788330db817d19a04da builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   mm/vmscan.c: In function 'snapshot_refaults':
>> mm/vmscan.c:2966:14: error: implicit declaration of function 'lruvec_page_state_local'; did you mean 'lruvec_page_state'? [-Werror=implicit-function-declaration]
      refaults = lruvec_page_state_local(lruvec, WORKINGSET_ACTIVATE);
                 ^~~~~~~~~~~~~~~~~~~~~~~
                 lruvec_page_state
   cc1: some warnings being treated as errors

vim +2966 mm/vmscan.c

  2955	
  2956	static void snapshot_refaults(struct mem_cgroup *root_memcg, pg_data_t *pgdat)
  2957	{
  2958		struct mem_cgroup *memcg;
  2959	
  2960		memcg = mem_cgroup_iter(root_memcg, NULL, NULL);
  2961		do {
  2962			unsigned long refaults;
  2963			struct lruvec *lruvec;
  2964	
  2965			lruvec = mem_cgroup_lruvec(pgdat, memcg);
> 2966			refaults = lruvec_page_state_local(lruvec, WORKINGSET_ACTIVATE);
  2967			lruvec->refaults = refaults;
  2968		} while ((memcg = mem_cgroup_iter(root_memcg, memcg, NULL)));
  2969	}
  2970	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 4624 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-17  6:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-17  6:44 [mmotm:master 18/317] mm/vmscan.c:2966:14: error: implicit declaration of function 'lruvec_page_state_local'; did you mean 'lruvec_page_state'? kbuild test robot

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