From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: randconfig build error with next-20140107, in arch/x86/xen/grant-table.c Date: Tue, 7 Jan 2014 09:58:08 -0500 Message-ID: <20140107145808.GA4111@phenom.dumpdata.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from userp1040.oracle.com ([156.151.31.81]:21661 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910AbaAGO6g convert rfc822-to-8bit (ORCPT ); Tue, 7 Jan 2014 09:58:36 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-next-owner@vger.kernel.org List-ID: To: Jim Davis Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, boris.ostrovsky@oracle.com, david.vrabel@citrix.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, xen-devel@lists.xenproject.org On Tue, Jan 07, 2014 at 07:03:50AM -0700, Jim Davis wrote: > Building with the attached random configuration file, >=20 > arch/x86/xen/grant-table.c: In function =E2=80=98xen_pvh_gnttab_setup= =E2=80=99: > arch/x86/xen/grant-table.c:181:2: error: implicit declaration of > function =E2=80=98xen_pvh_domain=E2=80=99 [-Werror=3Dimplicit-functio= n-declaration] > if (!xen_pvh_domain()) > ^ > cc1: some warnings being treated as errors > make[2]: *** [arch/x86/xen/grant-table.o] Error 1 And this fixes it: =46rom dc5fadd89408a562b6b55566af061ad551a03b5c Mon Sep 17 00:00:00 200= 1 =46rom: Konrad Rzeszutek Wilk Date: Tue, 7 Jan 2014 09:56:06 -0500 Subject: [PATCH] xen/pvh: Fix compile issues with xen_pvh_domain() Oddly enough it compiles for my ancient compiler but with the supplied .config it does blow up. Fix is easy enough. Reported-by: kbuild test robot Reported-by: Jim Davis Signed-off-by: Konrad Rzeszutek Wilk --- arch/x86/xen/grant-table.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/xen/grant-table.c b/arch/x86/xen/grant-table.c index 2d71979..103c93f 100644 --- a/arch/x86/xen/grant-table.c +++ b/arch/x86/xen/grant-table.c @@ -128,6 +128,7 @@ void arch_gnttab_unmap(void *shared, unsigned long = nr_gframes) #ifdef CONFIG_XEN_PVH #include #include +#include #include static int __init xlated_setup_gnttab_pages(void) { --=20 1.8.3.1