From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [dax:xarray-pagecache 10/15] mm///swap.c:559:35: error: implicit declaration of function 'hpage_nr_pages'
Date: Sat, 07 Dec 2019 20:59:22 +0800 [thread overview]
Message-ID: <201912072043.QScvfDUz%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2019-12-07 12:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201912072043.QScvfDUz%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.