From: kbuild test robot <lkp@intel.com>
To: Oscar Salvador <osalvador@suse.de>
Cc: kbuild-all@01.org, Johannes Weiner <hannes@cmpxchg.org>,
Pavel Tatashin <pasha.tatashin@oracle.com>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [mmotm:master 208/394] mm/page_alloc.c:6272:3: error: implicit declaration of function 'zone_init_internals'
Date: Sun, 12 Aug 2018 03:36:49 +0800 [thread overview]
Message-ID: <201808120346.1t4qat5I%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2654 bytes --]
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: b1da01df1aa700864692a49a7007fc96cc1da7d9
commit: e3dcfdaca81e86f21335a0b6d39162ad574c8574 [208/394] mm/page_alloc: Introduce free_area_init_core_hotplug
config: x86_64-randconfig-s2-08101624 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
git checkout e3dcfdaca81e86f21335a0b6d39162ad574c8574
# save the attached .config to linux build tree
make ARCH=x86_64
Note: the mmotm/master HEAD b1da01df1aa700864692a49a7007fc96cc1da7d9 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
mm/page_alloc.c:6245:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zone_init_internals'
static void __paginginit zone_init_internals(struct zone *zone, enum zone_type idx, int nid,
^~~~~~~~~~~~~~~~~~~
mm/page_alloc.c: In function 'free_area_init_core_hotplug':
>> mm/page_alloc.c:6272:3: error: implicit declaration of function 'zone_init_internals' [-Werror=implicit-function-declaration]
zone_init_internals(&pgdat->node_zones[z], z, nid, 0);
^~~~~~~~~~~~~~~~~~~
At top level:
mm/page_alloc.c:5721:23: warning: 'zone_pcp_init' defined but not used [-Wunused-function]
static __meminit void zone_pcp_init(struct zone *zone)
^~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/zone_init_internals +6272 mm/page_alloc.c
6244
> 6245 static void __paginginit zone_init_internals(struct zone *zone, enum zone_type idx, int nid,
6246 unsigned long remaining_pages)
6247 {
6248 zone->managed_pages = remaining_pages;
6249 zone_set_nid(zone, nid);
6250 zone->name = zone_names[idx];
6251 zone->zone_pgdat = NODE_DATA(nid);
6252 spin_lock_init(&zone->lock);
6253 zone_seqlock_init(zone);
6254 zone_pcp_init(zone);
6255 }
6256
6257 /*
6258 * Set up the zone data structures
6259 * - init pgdat internals
6260 * - init all zones belonging to this node
6261 *
6262 * NOTE: this function is only called during memory hotplug
6263 */
6264 #ifdef CONFIG_MEMORY_HOTPLUG
6265 void __ref free_area_init_core_hotplug(int nid)
6266 {
6267 enum zone_type z;
6268 pg_data_t *pgdat = NODE_DATA(nid);
6269
6270 pgdat_init_internals(pgdat);
6271 for (z = 0; z < MAX_NR_ZONES; z++)
> 6272 zone_init_internals(&pgdat->node_zones[z], z, nid, 0);
6273 }
6274 #endif
6275
---
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: 33873 bytes --]
reply other threads:[~2018-08-11 19:37 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=201808120346.1t4qat5I%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
--cc=osalvador@suse.de \
--cc=pasha.tatashin@oracle.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