From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f170.google.com (mail-yk0-f170.google.com [209.85.160.170]) by kanga.kvack.org (Postfix) with ESMTP id 961866B0022 for ; Tue, 22 Dec 2015 06:49:56 -0500 (EST) Received: by mail-yk0-f170.google.com with SMTP id x184so162208375yka.3 for ; Tue, 22 Dec 2015 03:49:56 -0800 (PST) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com. [66.165.176.63]) by mx.google.com with ESMTPS id l127si24424521ywf.123.2015.12.22.03.49.55 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Dec 2015 03:49:55 -0800 (PST) Date: Tue, 22 Dec 2015 11:49:46 +0000 From: Stefano Stabellini 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> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: kbuild test robot , Sasha Levin , kbuild-all@01.org, linux-kernel@vger.kernel.org, Linux Memory Management List , David Vrabel , boris.ostrovsky@oracle.com 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org