Message ID | 20180621121325.9326-1-mpagano@gentoo.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Mike, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kvm/linux-next] [also build test WARNING on v4.18-rc1 next-20180621] [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/mpagano-gentoo-org/kvmclock-Define-pvclock_pvti_cpu0_va-setter-for-X86_32/20180621-220955 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next config: i386-randconfig-x014-201824 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): arch/x86/kernel/kvmclock.c: In function 'kvm_setup_vsyscall_timeinfo': >> arch/x86/kernel/kvmclock.c:353:22: warning: extra tokens at end of #ifdef directive #ifdef CONFIG_X86_64 || defined(CONFIG_X86_32) ^~ >> arch/x86/kernel/kvmclock.c:353:22: warning: extra tokens at end of #ifdef directive #ifdef CONFIG_X86_64 || defined(CONFIG_X86_32) ^~ vim +353 arch/x86/kernel/kvmclock.c 350 351 int __init kvm_setup_vsyscall_timeinfo(void) 352 { > 353 #ifdef CONFIG_X86_64 || defined(CONFIG_X86_32) --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
diff --git a/arch/x86/kernel/kvmclock.c b/arch/x86/kernel/kvmclock.c index bf8d1eb7fca3..6aee5c6265b3 100644 --- a/arch/x86/kernel/kvmclock.c +++ b/arch/x86/kernel/kvmclock.c @@ -350,7 +350,7 @@ void __init kvmclock_init(void) int __init kvm_setup_vsyscall_timeinfo(void) { -#ifdef CONFIG_X86_64 +#ifdef CONFIG_X86_64 || defined(CONFIG_X86_32) int cpu; u8 flags; struct pvclock_vcpu_time_info *vcpu_time;