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:attempts/zonlists-build-simplification 327/335] mm/page_alloc.c:5080: warning: unused variable 'cpu'
Date: Sat, 15 Jul 2017 03:59:28 +0800 [thread overview]
Message-ID: <201707150320.R5z801CW%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1861 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git attempts/zonlists-build-simplification
head: 9a26fb2cff2eedb99023c7ee3a1a125b6f2955f4
commit: d662ec96cc21ae20e9ea2108684802716a146481 [327/335] mm, page_alloc: remove boot pageset initialization from memory hotplug
config: x86_64-randconfig-v0-07142324 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout d662ec96cc21ae20e9ea2108684802716a146481
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
mm/page_alloc.c: In function '__build_all_zonelists':
>> mm/page_alloc.c:5080: warning: unused variable 'cpu'
mm/page_alloc.c: In function 'free_area_init_node':
mm/page_alloc.c:5821: warning: 'zone_start_pfn' may be used uninitialized in this function
mm/page_alloc.c:5821: note: 'zone_start_pfn' was declared here
vim +/cpu +5080 mm/page_alloc.c
4eaf3f643 Haicheng Li 2010-05-24 5075
9b1a4d383 Rusty Russell 2008-07-28 5076 /* return values int ....just for stop_machine() */
4ed7e0222 Jiang Liu 2012-07-31 5077 static int __build_all_zonelists(void *data)
^1da177e4 Linus Torvalds 2005-04-16 5078 {
6811378e7 Yasunori Goto 2006-06-23 5079 int nid;
99dcc3e5a Christoph Lameter 2010-01-05 @5080 int cpu;
9adb62a5d Jiang Liu 2012-07-31 5081 pg_data_t *self = data;
9276b1bc9 Paul Jackson 2006-12-06 5082
:::::: The code at line 5080 was first introduced by commit
:::::: 99dcc3e5a94ed491fbef402831d8c0bbb267f995 this_cpu: Page allocator conversion
:::::: TO: Christoph Lameter <cl@linux-foundation.org>
:::::: CC: Tejun Heo <tj@kernel.org>
---
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: 26710 bytes --]
reply other threads:[~2017-07-14 20:00 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=201707150320.R5z801CW%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;
as well as URLs for NNTP newsgroup(s).