From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f70.google.com (mail-pl0-f70.google.com [209.85.160.70]) by kanga.kvack.org (Postfix) with ESMTP id 0E4DF6B0008 for ; Wed, 4 Apr 2018 10:35:05 -0400 (EDT) Received: by mail-pl0-f70.google.com with SMTP id t1-v6so14687817plb.5 for ; Wed, 04 Apr 2018 07:35:05 -0700 (PDT) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id u192sor1256294pgc.162.2018.04.04.07.35.03 for (Google Transport Security); Wed, 04 Apr 2018 07:35:03 -0700 (PDT) Subject: Re: [PATCH v6 1/5] mm: page_alloc: remain memblock_next_valid_pfn() on arm and arm64 References: <1522810579-7466-2-git-send-email-hejianet@gmail.com> <201804042156.YTVq2WAJ%fengguang.wu@intel.com> From: Jia He Message-ID: Date: Wed, 4 Apr 2018 22:34:41 +0800 MIME-Version: 1.0 In-Reply-To: <201804042156.YTVq2WAJ%fengguang.wu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: kbuild test robot Cc: kbuild-all@01.org, Russell King , Catalin Marinas , Will Deacon , Mark Rutland , Ard Biesheuvel , Andrew Morton , Michal Hocko , Wei Yang , Kees Cook , Laura Abbott , Vladimir Murzin , Philip Derrin , AKASHI Takahiro , James Morse , Steve Capper , Pavel Tatashin , Gioh Kim , Vlastimil Babka , Mel Gorman , Johannes Weiner , Kemi Wang , Petr Tesarik , YASUAKI ISHIMATSU , Andrey Ryabinin , Nikolay Borisov , Daniel Jordan , Daniel Vacek , Eugeniu Rosca , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Jia He sorry, will fix it right now Cheer, Jia On 4/4/2018 10:19 PM, kbuild test robot Wrote: > Hi Jia, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on arm64/for-next/core] > [also build test ERROR on v4.16 next-20180403] > [cannot apply to linus/master mmotm/master] > [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/Jia-He/mm-page_alloc-remain-memblock_next_valid_pfn-on-arm-and-arm64/20180404-200732 > base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core > config: i386-randconfig-x013-201813 (attached as .config) > compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 > reproduce: > # save the attached .config to linux build tree > make ARCH=i386 > > All error/warnings (new ones prefixed by >>): > > In file included from include/linux/gfp.h:6:0, > from include/linux/mm.h:10, > from mm/page_alloc.c:18: > mm/page_alloc.c: In function 'memmap_init_zone': >>> include/linux/mmzone.h:1299:28: error: called object is not a function or function pointer > #define next_valid_pfn (pfn++) > ~~~~^~~ >>> mm/page_alloc.c:5349:39: note: in expansion of macro 'next_valid_pfn' > for (pfn = start_pfn; pfn < end_pfn; next_valid_pfn(pfn)) { > ^~~~~~~~~~~~~~ > > vim +1299 include/linux/mmzone.h > > 1296 > 1297 /* fallback to default defitions*/ > 1298 #ifndef next_valid_pfn >> 1299 #define next_valid_pfn (pfn++) > 1300 #endif > 1301 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation -- Cheers, Jia