Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932832AbbLVOb0 (ORCPT ); Tue, 22 Dec 2015 09:31:26 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:22228 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751979AbbLVObZ (ORCPT ); Tue, 22 Dec 2015 09:31:25 -0500 Subject: Re: arch/x86/xen/suspend.c:70:9: error: implicit declaration of function 'xen_pv_domain' To: Stefano Stabellini , Andrew Morton References: <201512210015.cGubDgTR%fengguang.wu@intel.com> <20151221140704.e376871cd786498eb5e71352@linux-foundation.org> Cc: kbuild test robot , Sasha Levin , kbuild-all@01.org, linux-kernel@vger.kernel.org, Linux Memory Management List , David Vrabel From: Boris Ostrovsky Message-ID: <56795EB1.4080203@oracle.com> Date: Tue, 22 Dec 2015 09:31:13 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1714 Lines: 45 On 12/22/2015 06:49 AM, Stefano Stabellini wrote: > On Mon, 21 Dec 2015, Andrew Morton wrote: >> On Mon, 21 Dec 2015 00:43:17 +0800 kbuild test robot wrote: >> >>> First bad commit (maybe != root cause): >>> >>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >>> head: 69c37a92ddbf79d9672230f21a04580d7ac2f4c3 >>> commit: 71458cfc782eafe4b27656e078d379a34e472adf kernel: add support for gcc 5 >>> date: 1 year, 2 months ago >>> config: x86_64-randconfig-x006-201551 (attached as .config) >>> reproduce: >>> git checkout 71458cfc782eafe4b27656e078d379a34e472adf >>> # save the attached .config to linux build tree >>> make ARCH=x86_64 >>> >>> All errors (new ones prefixed by >>): >>> >>> arch/x86/xen/suspend.c: In function 'xen_arch_pre_suspend': >>>>> arch/x86/xen/suspend.c:70:9: error: implicit declaration of function 'xen_pv_domain' [-Werror=implicit-function-declaration] >>> if (xen_pv_domain()) >>> ^ >> hm, tricky! >> >> --- a/arch/x86/xen/suspend.c~arch-x86-xen-suspendc-include-xen-xenh >> +++ a/arch/x86/xen/suspend.c >> @@ -1,6 +1,7 @@ >> #include >> #include >> >> +#include >> #include >> #include >> #include > > Looks like the right fix. David? Boris? Why are we trying to compile this if CONFIG_XEN is not set? -boris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/