Re: [Xen-devel] [PATCH v2 14/21] x86/xen: split suspend.c for PV and PVHVM guests
From: kbuild test robot
Date: Sun Mar 05 2017 - 04:14:58 EST
Hi Vitaly,
[auto build test ERROR on xen-tip/linux-next]
[also build test ERROR on next-20170303]
[cannot apply to v4.10]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Vitaly-Kuznetsov/x86-xen-untangle-PV-and-PVHVM-guest-support-code/20170305-162950
base: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git linux-next
config: x86_64-randconfig-i0-03021655 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
arch/x86/xen/suspend_pv.c: In function 'xen_pv_pre_suspend':
>> arch/x86/xen/suspend_pv.c:19:2: error: implicit declaration of function 'fix_to_virt' [-Werror=implicit-function-declaration]
if (HYPERVISOR_update_va_mapping(fix_to_virt(FIX_PARAVIRT_BOOTMAP),
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from arch/x86/xen/suspend_pv.c:1:
>> arch/x86/xen/suspend_pv.c:19:47: error: 'FIX_PARAVIRT_BOOTMAP' undeclared (first use in this function)
if (HYPERVISOR_update_va_mapping(fix_to_virt(FIX_PARAVIRT_BOOTMAP),
^
include/linux/compiler.h:149:30: note: in definition of macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^
arch/x86/xen/suspend_pv.c:19:2: note: in expansion of macro 'if'
if (HYPERVISOR_update_va_mapping(fix_to_virt(FIX_PARAVIRT_BOOTMAP),
^
arch/x86/xen/suspend_pv.c:19:47: note: each undeclared identifier is reported only once for each function it appears in
if (HYPERVISOR_update_va_mapping(fix_to_virt(FIX_PARAVIRT_BOOTMAP),
^
include/linux/compiler.h:149:30: note: in definition of macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^
arch/x86/xen/suspend_pv.c:19:2: note: in expansion of macro 'if'
if (HYPERVISOR_update_va_mapping(fix_to_virt(FIX_PARAVIRT_BOOTMAP),
^
cc1: some warnings being treated as errors
vim +/fix_to_virt +19 arch/x86/xen/suspend_pv.c
13 xen_start_info->console.domU.mfn =
14 mfn_to_pfn(xen_start_info->console.domU.mfn);
15
16 BUG_ON(!irqs_disabled());
17
18 HYPERVISOR_shared_info = &xen_dummy_shared_info;
> 19 if (HYPERVISOR_update_va_mapping(fix_to_virt(FIX_PARAVIRT_BOOTMAP),
20 __pte_ma(0), 0))
21 BUG();
22 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip