From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754471AbcIFGtP (ORCPT ); Tue, 6 Sep 2016 02:49:15 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:51205 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752190AbcIFGtO (ORCPT ); Tue, 6 Sep 2016 02:49:14 -0400 X-IBM-Helo: d23dlp01.au.ibm.com X-IBM-MailFrom: khandual@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org Date: Tue, 06 Sep 2016 12:19:05 +0530 From: Anshuman Khandual User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: kbuild test robot , Anshuman Khandual CC: kbuild-all@01.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org Subject: Re: [PATCH V2 2/2] mm: Add sysfs interface to dump each node's zonelist information References: <201609061410.GxOTG4KX%fengguang.wu@intel.com> In-Reply-To: <201609061410.GxOTG4KX%fengguang.wu@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16090606-0016-0000-0000-000001C88E8F X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16090606-0017-0000-0000-0000055D4996 Message-Id: <57CE66E1.1070105@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-09-06_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1609060106 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/06/2016 11:41 AM, kbuild test robot wrote: > Hi Anshuman, > > [auto build test ERROR on mmotm/master] > [also build test ERROR on v4.8-rc5 next-20160905] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] > [Check https://git-scm.com/docs/git-format-patch for more information] > > url: https://github.com/0day-ci/linux/commits/Anshuman-Khandual/mm-Export-definition-of-zone_names-array-through-mmzone-h/20160906-133749 > base: git://git.cmpxchg.org/linux-mmotm.git master > config: x86_64-randconfig-x013-201636 (attached as .config) > compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > All errors (new ones prefixed by >>): > > drivers/base/memory.c: In function 'dump_zonelists': >>> >> drivers/base/memory.c:474:20: error: 'ZONELIST_NOFALLBACK' undeclared (first use in this function) > node_zonelists[ZONELIST_NOFALLBACK]); > ^~~~~~~~~~~~~~~~~~~ > drivers/base/memory.c:474:20: note: each undeclared identifier is reported only once for each function it appears in > > vim +/ZONELIST_NOFALLBACK +474 drivers/base/memory.c > > 468 node_zonelists[ZONELIST_FALLBACK]); > 469 count += sprintf(buf + count, "[NODE (%d)]\n", node); > 470 count += sprintf(buf + count, "\tZONELIST_FALLBACK\n"); > 471 count += dump_zonelist(buf + count, zonelist); > 472 > 473 zonelist = &(NODE_DATA(node)-> > > 474 node_zonelists[ZONELIST_NOFALLBACK]); > 475 count += sprintf(buf + count, "\tZONELIST_NOFALLBACK\n"); Missed the fact that ZONELIST_NOFALLBACK is valid only on CONFIG_NUMA systems. Will fix and resend the patch.