All of lore.kernel.org
 help / color / mirror / Atom feed
* [dax:xarray-pagecache 10/15] mm///swap.c:559:35: error: implicit declaration of function 'hpage_nr_pages'
@ 2019-12-07 12:59 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-07 12:59 UTC (permalink / raw)
  To: kbuild-all

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

tree:   git://git.infradead.org/users/willy/linux-dax.git xarray-pagecache
head:   51b5b575c276314969b5811bd2889907a89100e9
commit: 8bc7a587c5b63ad4f9c232ef7104895232001a10 [10/15] mm: Remove hpage_nr_pages
config: x86_64-randconfig-s2-20191207 (attached as .config)
compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010
reproduce:
        git checkout 8bc7a587c5b63ad4f9c232ef7104895232001a10
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   mm///swap.c: In function 'lru_deactivate_fn':
>> mm///swap.c:559:35: error: implicit declaration of function 'hpage_nr_pages' [-Werror=implicit-function-declaration]
      __count_vm_events(PGDEACTIVATE, hpage_nr_pages(page));
                                      ^
   cc1: some warnings being treated as errors

vim +/hpage_nr_pages +559 mm///swap.c

315601809d124d Minchan Kim 2011-03-22  546  
9c276cc65a58fa Minchan Kim 2019-09-25  547  static void lru_deactivate_fn(struct page *page, struct lruvec *lruvec,
9c276cc65a58fa Minchan Kim 2019-09-25  548  			    void *arg)
9c276cc65a58fa Minchan Kim 2019-09-25  549  {
9c276cc65a58fa Minchan Kim 2019-09-25  550  	if (PageLRU(page) && PageActive(page) && !PageUnevictable(page)) {
9c276cc65a58fa Minchan Kim 2019-09-25  551  		int file = page_is_file_cache(page);
9c276cc65a58fa Minchan Kim 2019-09-25  552  		int lru = page_lru_base_type(page);
9c276cc65a58fa Minchan Kim 2019-09-25  553  
9c276cc65a58fa Minchan Kim 2019-09-25  554  		del_page_from_lru_list(page, lruvec, lru + LRU_ACTIVE);
9c276cc65a58fa Minchan Kim 2019-09-25  555  		ClearPageActive(page);
9c276cc65a58fa Minchan Kim 2019-09-25  556  		ClearPageReferenced(page);
9c276cc65a58fa Minchan Kim 2019-09-25  557  		add_page_to_lru_list(page, lruvec, lru);
9c276cc65a58fa Minchan Kim 2019-09-25  558  
9c276cc65a58fa Minchan Kim 2019-09-25 @559  		__count_vm_events(PGDEACTIVATE, hpage_nr_pages(page));
9c276cc65a58fa Minchan Kim 2019-09-25  560  		update_page_reclaim_stat(lruvec, file, 0);
9c276cc65a58fa Minchan Kim 2019-09-25  561  	}
9c276cc65a58fa Minchan Kim 2019-09-25  562  }
10853a039208c4 Minchan Kim 2016-01-15  563  

:::::: The code at line 559 was first introduced by commit
:::::: 9c276cc65a58faf98be8e56962745ec99ab87636 mm: introduce MADV_COLD

:::::: TO: Minchan Kim <minchan@kernel.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

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

only message in thread, other threads:[~2019-12-07 12:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-07 12:59 [dax:xarray-pagecache 10/15] mm///swap.c:559:35: error: implicit declaration of function 'hpage_nr_pages' kbuild 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.