Re: [PATCH v3 3/7] x86/hyper-v: reenlightenment notifications support
From: Thomas Gleixner
Date: Sat Jan 20 2018 - 02:48:29 EST
On Fri, 19 Jan 2018, Vitaly Kuznetsov wrote:
> kbuild test robot <lkp@xxxxxxxxx> writes:
>
> > Hi Vitaly,
> >
> > Thank you for the patch! Perhaps something to improve:
> >
> > [auto build test WARNING on tip/auto-latest]
> > [also build test WARNING on v4.15-rc8 next-20180118]
> > [cannot apply to tip/x86/core kvm/linux-next]
> > [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/Vitaly-Kuznetsov/x86-kvm-hyperv-stable-clocksorce-for-L2-guests-when-running-nested-KVM-on-Hyper-V/20180119-160814
> > config: x86_64-allmodconfig (attached as .config)
> > compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
> > reproduce:
> > # save the attached .config to linux build tree
> > make ARCH=x86_64
> >
> > All warnings (new ones prefixed by >>):
> >
> > In file included from include/linux/kasan.h:17:0,
> > from include/linux/slab.h:129,
> > from include/linux/irq.h:26,
> > from arch/x86/include/asm/hardirq.h:6,
> > from include/linux/hardirq.h:9,
> > from include/linux/interrupt.h:13,
> > from arch/x86/include/asm/mshyperv.h:8,
> > from arch/x86//entry/vdso/vdso32/../vclock_gettime.c:20,
> > from arch/x86//entry/vdso/vdso32/vclock_gettime.c:33:
> > arch/x86/include/asm/pgtable.h: In function 'clone_pgd_range':
> > arch/x86/include/asm/pgtable.h:1129:9: error: implicit declaration of function 'kernel_to_user_pgdp'; did you mean 'u64_to_user_ptr'? [-Werror=implicit-function-declaration]
> > memcpy(kernel_to_user_pgdp(dst), kernel_to_user_pgdp(src),
> > ^~~~~~~~~~~~~~~~~~~
>
> Sorry but I'm failing to see how this (and all the rest) is related to
> my patch ...
You added '#include <linux/interrupt.h>' to mshyperv.h which is included in
vclock_gettime.c and pulls in other stuff which fails to expand....
Thanks,
tglx