Hi Lei, [auto build test ERROR on kvms390/next] [also build test ERROR on v4.10-rc8] [cannot apply to kvm/linux-next kvm-ppc/kvm-ppc-next next-20170215] [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/Cao-Lei/KVM-Add-new-generic-capability-for-ring-based-dirty-memory-logging/20170216-033010 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git next config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): In file included from include/linux/kvm_host.h:36:0, from arch/arm64/kvm/../../../virt/kvm/kvm_main.c:21: arch/arm64/include/asm/kvm_host.h:35:0: warning: "KVM_COALESCED_MMIO_PAGE_OFFSET" redefined #define KVM_COALESCED_MMIO_PAGE_OFFSET 1 In file included from include/linux/kvm_host.h:31:0, from arch/arm64/kvm/../../../virt/kvm/kvm_main.c:21: include/uapi/linux/kvm.h:219:0: note: this is the location of the previous definition #define KVM_COALESCED_MMIO_PAGE_OFFSET 2 arch/arm64/kvm/../../../virt/kvm/kvm_main.c: In function 'kvm_vcpu_init': >> arch/arm64/kvm/../../../virt/kvm/kvm_main.c:282:8: error: implicit declaration of function 'kvm_cpu_dirty_log_size' [-Werror=implicit-function-declaration] kvm_cpu_dirty_log_size(); ^~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/kvm_cpu_dirty_log_size +282 arch/arm64/kvm/../../../virt/kvm/kvm_main.c 276 277 #ifdef KVM_DIRTY_LOG_PAGE_OFFSET 278 if (kvm->dirty_ring_size) { 279 u32 limit = (kvm->dirty_ring_size / 280 sizeof(struct kvm_dirty_gfn)) - 281 DIRTY_RING_BUFFER_ENTRY_NUM - > 282 kvm_cpu_dirty_log_size(); 283 r = kvm_gfn_ring_alloc(&vcpu->dirty_ring, 284 kvm->dirty_ring_size, 285 limit); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip