Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754195AbbLVLt5 (ORCPT ); Tue, 22 Dec 2015 06:49:57 -0500 Received: from smtp02.citrix.com ([66.165.176.63]:10499 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753952AbbLVLt4 (ORCPT ); Tue, 22 Dec 2015 06:49:56 -0500 X-IronPort-AV: E=Sophos;i="5.20,464,1444694400"; d="scan'208";a="326903667" Date: Tue, 22 Dec 2015 11:49:46 +0000 From: Stefano Stabellini X-X-Sender: sstabellini@kaball.uk.xensource.com To: Andrew Morton CC: kbuild test robot , Sasha Levin , , , Linux Memory Management List , David Vrabel , Subject: Re: arch/x86/xen/suspend.c:70:9: error: implicit declaration of function 'xen_pv_domain' In-Reply-To: <20151221140704.e376871cd786498eb5e71352@linux-foundation.org> Message-ID: References: <201512210015.cGubDgTR%fengguang.wu@intel.com> <20151221140704.e376871cd786498eb5e71352@linux-foundation.org> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1575 Lines: 42 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? -- 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/