[mmotm:master 18/317] mm/vmscan.c:2966:14: error: implicit declaration of function 'lruvec_page_state_local'; did you mean 'lruvec_page_state'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux