[memcg:attempts/zonlists-build-simplification 327/335] mm/page_alloc.c:5080: warning: unused variable 'cpu'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx>
:::::: CC: Tejun Heo <tj@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux