Hi Lei, [auto build test WARNING on kvms390/next] [also build test WARNING 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 warnings (new ones prefixed by >>): In file included from include/linux/kvm_host.h:36:0, from arch/arm64/kernel/hibernate.c:19: >> 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/kernel/hibernate.c:19: include/uapi/linux/kvm.h:218:0: note: this is the location of the previous definition #define KVM_COALESCED_MMIO_PAGE_OFFSET 2 vim +/KVM_COALESCED_MMIO_PAGE_OFFSET +35 arch/arm64/include/asm/kvm_host.h 4f8d6632 Marc Zyngier 2012-12-10 19 * along with this program. If not, see <http://www.gnu.org/licenses/>. 4f8d6632 Marc Zyngier 2012-12-10 20 */ 4f8d6632 Marc Zyngier 2012-12-10 21 4f8d6632 Marc Zyngier 2012-12-10 22 #ifndef __ARM64_KVM_HOST_H__ 4f8d6632 Marc Zyngier 2012-12-10 23 #define __ARM64_KVM_HOST_H__ 4f8d6632 Marc Zyngier 2012-12-10 24 65647300 Paolo Bonzini 2014-08-29 25 #include <linux/types.h> 65647300 Paolo Bonzini 2014-08-29 26 #include <linux/kvm_types.h> 4f8d6632 Marc Zyngier 2012-12-10 27 #include <asm/kvm.h> 3a3604bc Marc Zyngier 2015-01-29 28 #include <asm/kvm_asm.h> 4f8d6632 Marc Zyngier 2012-12-10 29 #include <asm/kvm_mmio.h> 4f8d6632 Marc Zyngier 2012-12-10 30 c1426e4c Eric Auger 2015-03-04 31 #define __KVM_HAVE_ARCH_INTC_INITIALIZED c1426e4c Eric Auger 2015-03-04 32 4f8d6632 Marc Zyngier 2012-12-10 33 #define KVM_USER_MEM_SLOTS 32 4f8d6632 Marc Zyngier 2012-12-10 34 #define KVM_PRIVATE_MEM_SLOTS 4 4f8d6632 Marc Zyngier 2012-12-10 @35 #define KVM_COALESCED_MMIO_PAGE_OFFSET 1 920552b2 David Hildenbrand 2015-09-18 36 #define KVM_HALT_POLL_NS_DEFAULT 500000 4f8d6632 Marc Zyngier 2012-12-10 37 4f8d6632 Marc Zyngier 2012-12-10 38 #include <kvm/arm_vgic.h> 4f8d6632 Marc Zyngier 2012-12-10 39 #include <kvm/arm_arch_timer.h> 04fe4726 Shannon Zhao 2015-09-11 40 #include <kvm/arm_pmu.h> 4f8d6632 Marc Zyngier 2012-12-10 41 ef748917 Ming Lei 2015-09-02 42 #define KVM_MAX_VCPUS VGIC_V3_MAX_CPUS ef748917 Ming Lei 2015-09-02 43 :::::: The code at line 35 was first introduced by commit :::::: 4f8d6632ec71372a3b8dbb4775662c2c9025d173 arm64: KVM: kvm_arch and kvm_vcpu_arch definitions :::::: TO: Marc Zyngier <marc.zyngier@xxxxxxx> :::::: CC: Marc Zyngier <marc.zyngier@xxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip