Re: [PATCH 1/1] arm/arm64: add support for folded p4d page tables

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

 



Hi Mike,

I love your patch! Yet something to improve:

[auto build test ERROR on arm/for-next]
[also build test ERROR on arm64/for-next/core kvmarm/next v5.5-rc4 next-20191220]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Mike-Rapoport/arm-arm64-add-support-for-folded-p4d-page-tables/20191230-172112
base:   git://git.armlinux.org.uk/~rmk/linux-arm.git for-next
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   arch/arm64//mm/kasan_init.c: In function 'kasan_p4d_offset':
>> arch/arm64//mm/kasan_init.c:112:17: error: implicit declaration of function 'p4d_offset_kimg'; did you mean 'pud_offset_kimg'? [-Werror=implicit-function-declaration]
     return early ? p4d_offset_kimg(pgdp, addr) : p4d_offset(pgdp, addr);
                    ^~~~~~~~~~~~~~~
                    pud_offset_kimg
   arch/arm64//mm/kasan_init.c:112:45: warning: pointer/integer type mismatch in conditional expression
     return early ? p4d_offset_kimg(pgdp, addr) : p4d_offset(pgdp, addr);
                                                ^
   arch/arm64//mm/kasan_init.c: In function 'kasan_p4d_populate':
   arch/arm64//mm/kasan_init.c:164:22: error: passing argument 1 of 'kasan_pmd_populate' from incompatible pointer type [-Werror=incompatible-pointer-types]
      kasan_pmd_populate(p4dp, addr, next, node, early);
                         ^~~~
   arch/arm64//mm/kasan_init.c:132:20: note: expected 'pud_t * {aka struct <anonymous> *}' but argument is of type 'p4d_t * {aka struct <anonymous> *}'
    static void __init kasan_pmd_populate(pud_t *pudp, unsigned long addr,
                       ^~~~~~~~~~~~~~~~~~
   At top level:
   arch/arm64//mm/kasan_init.c:144:20: warning: 'kasan_pud_populate' defined but not used [-Wunused-function]
    static void __init kasan_pud_populate(p4d_t *p4dp, unsigned long addr,
                       ^~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +112 arch/arm64//mm/kasan_init.c

   111	
 > 112		return early ? p4d_offset_kimg(pgdp, addr) : p4d_offset(pgdp, addr);
   113	}
   114	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux