Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1296246

Re: arch/x86/xen/suspend.c:70:9: error: implicit declaration of function 'xen_pv_domain'

Path csiph.com!news.mixmin.net!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: arch/x86/xen/suspend.c:70:9: error: implicit declaration of function 'xen_pv_domain'
Date Mon, 21 Dec 2015 23:10:01 +0100
Message-ID <qIgOt-3Ob-9@gated-at.bofh.it> (permalink)
References <qHPlg-339-13@gated-at.bofh.it>
X-Original-To kbuild test robot <fengguang.wu@intel.com>
X-Mailer Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu)
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 40
Organization linux.* mail to news gateway
X-Original-Cc Sasha Levin <sasha.levin@oracle.com>, kbuild-all@01.org, linux-kernel@vger.kernel.org, Linux Memory Management List <linux-mm@kvack.org>
X-Original-Date Mon, 21 Dec 2015 14:07:04 -0800
X-Original-Message-ID <20151221140704.e376871cd786498eb5e71352@linux-foundation.org>
X-Original-References <201512210015.cGubDgTR%fengguang.wu@intel.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1296246

Show key headers only | View raw


On Mon, 21 Dec 2015 00:43:17 +0800 kbuild test robot <fengguang.wu@intel.com> 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 <linux/types.h>
 #include <linux/tick.h>
 
+#include <xen/xen.h>
 #include <xen/interface/xen.h>
 #include <xen/grant_table.h>
 #include <xen/events.h>
_

--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

arch/x86/xen/suspend.c:70:9: error: implicit declaration of function  'xen_pv_domain' kbuild test robot <fengguang.wu@intel.com> - 2015-12-20 17:50 +0100
  Re: arch/x86/xen/suspend.c:70:9: error: implicit declaration of  function 'xen_pv_domain' Andrew Morton <akpm@linux-foundation.org> - 2015-12-21 23:10 +0100
    Re: arch/x86/xen/suspend.c:70:9: error: implicit declaration of  function 'xen_pv_domain' Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-12-22 13:00 +0100
      Re: arch/x86/xen/suspend.c:70:9: error: implicit declaration of  function 'xen_pv_domain' Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-12-22 15:40 +0100

csiph-web