From: kbuild test robot <fengguang.wu@intel.com>
To: Michal Hocko <mhocko@suse.com>
Cc: kbuild-all@01.org, linux-mm@kvack.org
Subject: [memcg:fixes/more-sensible-hugetlb-migration 446/446] include/linux/migrate.h:41:28: error: macro "alloc_huge_page_nodemask" passed 3 arguments, but takes just 2
Date: Wed, 7 Jun 2017 22:36:09 +0800 [thread overview]
Message-ID: <201706072247.ZkjAU5vW%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git fixes/more-sensible-hugetlb-migration
head: 0b4446fb1fa6adba910cd073685d1fa254c9cb44
commit: 0b4446fb1fa6adba910cd073685d1fa254c9cb44 [446/446] hugetlb: add support for preferred node to alloc_huge_page_nodemask
config: i386-alldefconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 0b4446fb1fa6adba910cd073685d1fa254c9cb44
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
In file included from mm/page_alloc.c:61:0:
include/linux/migrate.h: In function 'new_page_nodemask':
>> include/linux/migrate.h:41:28: error: macro "alloc_huge_page_nodemask" passed 3 arguments, but takes just 2
preferred_nid, nodemask);
^
>> include/linux/migrate.h:40:10: error: 'alloc_huge_page_nodemask' undeclared (first use in this function)
return alloc_huge_page_nodemask(page_hstate(compound_head(page)),
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/migrate.h:40:10: note: each undeclared identifier is reported only once for each function it appears in
vim +/alloc_huge_page_nodemask +41 include/linux/migrate.h
34 static inline struct page *new_page_nodemask(struct page *page, int preferred_nid,
35 nodemask_t *nodemask)
36 {
37 gfp_t gfp_mask = GFP_USER | __GFP_MOVABLE;
38
39 if (PageHuge(page))
> 40 return alloc_huge_page_nodemask(page_hstate(compound_head(page)),
> 41 preferred_nid, nodemask);
42
43 if (PageHighMem(page)
44 || (zone_idx(page_zone(page)) == ZONE_MOVABLE))
---
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: 10335 bytes --]
reply other threads:[~2017-06-07 14:36 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=201706072247.ZkjAU5vW%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox