Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wxVN42qkVzDr1x for ; Tue, 27 Jun 2017 12:33:24 +1000 (AEST) From: Michael Ellerman To: kbuild test robot , Oliver O'Halloran Cc: Oliver O'Halloran , linuxppc-dev@lists.ozlabs.org, kbuild-all@01.org, "Aneesh Kumar K . V" Subject: Re: [PATCH v3 4/6] powerpc/mm: Add devmap support for ppc64 In-Reply-To: <201706251311.ys5lToYa%fengguang.wu@intel.com> References: <201706251311.ys5lToYa%fengguang.wu@intel.com> Date: Tue, 27 Jun 2017 12:33:23 +1000 Message-ID: <87tw32cg7g.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , kbuild test robot writes: > Hi Oliver, > > [auto build test ERROR on powerpc/next] > [also build test ERROR on v4.12-rc6 next-20170623] > [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/Oliver-O-Halloran/mm-x86-Add-ARCH_HAS_ZONE_DEVICE-to-Kconfig/20170625-102522 > base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next > config: powerpc-defconfig (attached as .config) > compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 > reproduce: > wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=powerpc > > All errors (new ones prefixed by >>): > > mm/gup.c: In function '__gup_device_huge_pud': >>> mm/gup.c:1329:14: error: implicit declaration of function 'pud_pfn' [-Werror=implicit-function-declaration] > fault_pfn = pud_pfn(pud) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); > ^~~~~~~ > cc1: some warnings being treated as errors The key here is that CONFIG_TRANSPARENT_HUGEPAGE=n. So this needs to be fixed before I can merge this. I think the problem is just that pud_pfn() is inside #ifdef CONFIG_TRANSPARENT_HUGEPAGE but shouldn't be. cheers