lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 2 Feb 2018 14:05:27 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Pavel Tatashin <pasha.tatashin@...cle.com>
Cc:     kbuild-all@...org, steven.sistare@...cle.com,
        daniel.m.jordan@...cle.com, akpm@...ux-foundation.org,
        mgorman@...hsingularity.net, mhocko@...e.com, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
        vbabka@...e.cz, bharata@...ux.vnet.ibm.com
Subject: Re: [PATCH v1] mm: optimize memory hotplug

Hi Pavel,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on mmotm/master]
[also build test ERROR on next-20180201]
[cannot apply to v4.15]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Pavel-Tatashin/mm-optimize-memory-hotplug/20180202-125437
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: x86_64-randconfig-x017-201804 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   mm/page_alloc.c: In function 'init_reserved_page':
>> mm/page_alloc.c:1215:44: error: 'zone' undeclared (first use in this function)
     __init_single_page(pfn_to_page(pfn), pfn, zone, nid);
                                               ^~~~
   mm/page_alloc.c:1215:44: note: each undeclared identifier is reported only once for each function it appears in

vim +/zone +1215 mm/page_alloc.c

  1196	
  1197	#ifdef CONFIG_DEFERRED_STRUCT_PAGE_INIT
  1198	static void __meminit init_reserved_page(unsigned long pfn)
  1199	{
  1200		pg_data_t *pgdat;
  1201		int nid, zid;
  1202	
  1203		if (!early_page_uninitialised(pfn))
  1204			return;
  1205	
  1206		nid = early_pfn_to_nid(pfn);
  1207		pgdat = NODE_DATA(nid);
  1208	
  1209		for (zid = 0; zid < MAX_NR_ZONES; zid++) {
  1210			struct zone *zone = &pgdat->node_zones[zid];
  1211	
  1212			if (pfn >= zone->zone_start_pfn && pfn < zone_end_pfn(zone))
  1213				break;
  1214		}
> 1215		__init_single_page(pfn_to_page(pfn), pfn, zone, nid);
  1216	}
  1217	#else
  1218	static inline void init_reserved_page(unsigned long pfn)
  1219	{
  1220	}
  1221	#endif /* CONFIG_DEFERRED_STRUCT_PAGE_INIT */
  1222	

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

Download attachment ".config.gz" of type "application/gzip" (34861 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ