[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xen/balloon: Mark unallocated host memory as UNUSABLE



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 

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.