lkml.org 
[lkml]   [2017]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] xen/balloon: Mark unallocated host memory as UNUSABLE
From
Date
On 12/15/2017 11:04 AM, kbuild test robot wrote:
> Hi Boris,
>
> I love your patch! Yet something to improve:
>
> [auto build test ERROR on xen-tip/linux-next]
> [also build test ERROR on v4.15-rc3 next-20171215]
> [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/Boris-Ostrovsky/xen-balloon-Mark-unallocated-host-memory-as-UNUSABLE/20171215-231511
> base: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git linux-next
> config: i386-randconfig-x010-201750 (attached as .config)
> compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=i386

Oh, right...


-boris

>
> All errors (new ones prefixed by >>):
>
> arch/x86/xen/enlighten.c: In function 'arch_xen_balloon_init':
>>> arch/x86/xen/enlighten.c:341:27: error: 'max_pfn' undeclared (first use in this function); did you mean 'pgd_pfn'?
> unsigned long max_addr = max_pfn << PAGE_SHIFT;
> ^~~~~~~
> pgd_pfn
> arch/x86/xen/enlighten.c:341:27: note: each undeclared identifier is reported only once for each function it appears in
>
> vim +341 arch/x86/xen/enlighten.c
>
> 335
> 336 #ifdef CONFIG_XEN_BALLOON_MEMORY_HOTPLUG
> 337 void __init arch_xen_balloon_init(struct resource *hostmem_resource)
> 338 {
> 339 struct xen_memory_map memmap;
> 340 int rc, i, last_guest_ram;
> > 341 unsigned long max_addr = max_pfn << PAGE_SHIFT;
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation

\
 
 \ /
  Last update: 2017-12-15 17:22    [W:0.075 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site