[kvmarm:master 7/8] arch/arm/kvm/../../../virt/kvm/arm/mmu.c:1705:36: error: implicit declaration of function 'kvm_stage2_has_pmd'; did you mean 'kvm_stage2_has_pud'?

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

 




On 02/02/2019 10:50, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git master
> head:   a7d7d3ebc7d441ee48e1fd87d9a8abbf7d528127
> commit: 4cc936fd184a2641801c906ea320326317895397 [7/8] KVM: arm64: Relax the restriction on using stage2 PUD huge mapping
> config: arm-axm55xx_defconfig (attached as .config)
> compiler: arm-linux-gnueabi-gcc (Debian 8.2.0-11) 8.2.0
> reproduce:
>          wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>          chmod +x ~/bin/make.cross
>          git checkout 4cc936fd184a2641801c906ea320326317895397
>          # save the attached .config to linux build tree
>          GCC_VERSION=8.2.0 make.cross ARCH=arm
> 
> All errors (new ones prefixed by >>):
> 
>     arch/arm/kvm/../../../virt/kvm/arm/mmu.c: In function 'user_mem_abort':
>>> arch/arm/kvm/../../../virt/kvm/arm/mmu.c:1705:36: error: implicit declaration of function 'kvm_stage2_has_pmd'; did you mean 'kvm_stage2_has_pud'? [-Werror=implicit-function-declaration]
>            (vma_pagesize == PUD_SIZE && kvm_stage2_has_pmd(kvm))) &&
>                                         ^~~~~~~~~~~~~~~~~~
>                                         kvm_stage2_has_pud
>     cc1: some warnings being treated as errors
> 
> vim +1705 arch/arm/kvm/../../../virt/kvm/arm/mmu.c


Thanks for the report. I will fix this by adding dummy definitions for arm32.

Suzuki


[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