[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201706261410.7gKl8ObA%fengguang.wu@intel.com>
Date: Mon, 26 Jun 2017 14:33:12 +0800
From: kbuild test robot <lkp@...el.com>
To: kys@...hange.microsoft.com
Cc: kbuild-all@...org, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, devel@...uxdriverproject.org,
olaf@...fle.de, apw@...onical.com, vkuznets@...hat.com,
jasowang@...hat.com, leann.ogasawara@...onical.com,
marcelo.cerri@...onical.com, sthemmin@...rosoft.com
Subject: Re: [PATCH 08/10] x86/hyper-v: use hypercall for remote TLB flush
Hi Vitaly,
[auto build test ERROR on next-20170619]
[cannot apply to tip/x86/core linus/master linux/master v4.12-rc6 v4.12-rc5 v4.12-rc4 v4.12-rc7]
[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/kys-exchange-microsoft-com/x86-hyper-v-include-hyperv-only-when-CONFIG_HYPERV-is-set/20170626-133601
config: i386-randconfig-a0-06250447 (attached as .config)
compiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
arch/x86/hyperv/mmu.c: In function 'hyperv_flush_tlb_others':
>> arch/x86/hyperv/mmu.c:120:32: error: passing argument 2 of 'native_flush_tlb_others' from incompatible pointer type [-Werror=incompatible-pointer-types]
native_flush_tlb_others(cpus, mm, start, end);
^
In file included from arch/x86/hyperv/mmu.c:9:0:
arch/x86/include/asm/tlbflush.h:256:6: note: expected 'const struct flush_tlb_info *' but argument is of type 'struct mm_struct *'
void native_flush_tlb_others(const struct cpumask *cpumask,
^
>> arch/x86/hyperv/mmu.c:120:2: error: too many arguments to function 'native_flush_tlb_others'
native_flush_tlb_others(cpus, mm, start, end);
^
In file included from arch/x86/hyperv/mmu.c:9:0:
arch/x86/include/asm/tlbflush.h:256:6: note: declared here
void native_flush_tlb_others(const struct cpumask *cpumask,
^
arch/x86/hyperv/mmu.c: In function 'hyperv_setup_mmu_ops':
>> arch/x86/hyperv/mmu.c:127:31: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
pv_mmu_ops.flush_tlb_others = hyperv_flush_tlb_others;
^
cc1: some warnings being treated as errors
vim +/native_flush_tlb_others +120 arch/x86/hyperv/mmu.c
114
115 local_irq_restore(flags);
116
117 if (!(status & HV_HYPERCALL_RESULT_MASK))
118 return;
119 do_native:
> 120 native_flush_tlb_others(cpus, mm, start, end);
121 }
122
123 void hyperv_setup_mmu_ops(void)
124 {
125 if (ms_hyperv.hints & HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED) {
126 pr_info("Hyper-V: Using hypercall for remote TLB flush\n");
> 127 pv_mmu_ops.flush_tlb_others = hyperv_flush_tlb_others;
128 }
129 }
130
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (28397 bytes)
Powered by blists - more mailing lists