From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jim Davis <jim.epost@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
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
Subject: Re: randconfig build error with next-20140107, in arch/x86/xen/grant-table.c
Date: Tue, 7 Jan 2014 09:58:08 -0500 [thread overview]
Message-ID: <20140107145808.GA4111@phenom.dumpdata.com> (raw)
In-Reply-To: <CA+r1ZhgQ7vMjLdE7GDbb5_eEXxsKtEg8L47PbBv2aX571qRYow@mail.gmail.com>
On Tue, Jan 07, 2014 at 07:03:50AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
>
> arch/x86/xen/grant-table.c: In function ‘xen_pvh_gnttab_setup’:
> arch/x86/xen/grant-table.c:181:2: error: implicit declaration of
> function ‘xen_pvh_domain’ [-Werror=implicit-function-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:
From dc5fadd89408a562b6b55566af061ad551a03b5c Mon Sep 17 00:00:00 2001
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
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 <fengguang.wu@intel.com>
Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
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 <xen/balloon.h>
#include <xen/events.h>
+#include <xen/xen.h>
#include <linux/slab.h>
static int __init xlated_setup_gnttab_pages(void)
{
--
1.8.3.1
WARNING: multiple messages have this Message-ID (diff)
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jim Davis <jim.epost@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
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
Subject: Re: randconfig build error with next-20140107, in arch/x86/xen/grant-table.c
Date: Tue, 7 Jan 2014 09:58:08 -0500 [thread overview]
Message-ID: <20140107145808.GA4111@phenom.dumpdata.com> (raw)
In-Reply-To: <CA+r1ZhgQ7vMjLdE7GDbb5_eEXxsKtEg8L47PbBv2aX571qRYow@mail.gmail.com>
On Tue, Jan 07, 2014 at 07:03:50AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
>
> arch/x86/xen/grant-table.c: In function ‘xen_pvh_gnttab_setup’:
> arch/x86/xen/grant-table.c:181:2: error: implicit declaration of
> function ‘xen_pvh_domain’ [-Werror=implicit-function-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:
>From dc5fadd89408a562b6b55566af061ad551a03b5c Mon Sep 17 00:00:00 2001
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
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 <fengguang.wu@intel.com>
Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
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 <xen/balloon.h>
#include <xen/events.h>
+#include <xen/xen.h>
#include <linux/slab.h>
static int __init xlated_setup_gnttab_pages(void)
{
--
1.8.3.1
next prev parent reply other threads:[~2014-01-07 14:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-07 14:03 randconfig build error with next-20140107, in arch/x86/xen/grant-table.c Jim Davis
2014-01-07 14:44 ` Konrad Rzeszutek Wilk
2014-01-07 14:44 ` Konrad Rzeszutek Wilk
2014-01-07 14:58 ` Konrad Rzeszutek Wilk [this message]
2014-01-07 14:58 ` Konrad Rzeszutek Wilk
2014-01-07 14:58 ` Konrad Rzeszutek Wilk
-- strict thread matches above, loose matches on Subject: below --
2014-01-07 14:03 Jim Davis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140107145808.GA4111@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=boris.ostrovsky@oracle.com \
--cc=david.vrabel@citrix.com \
--cc=hpa@zytor.com \
--cc=jim.epost@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=sfr@canb.auug.org.au \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.