Hi Arnd, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.14-rc5 next-20171013] [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/Arnd-Bergmann/x86-convert-x86_platform_ops-to-timespec64/20171016-091601 config: x86_64-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): arch/x86/xen/time.c: In function 'xen_init_time_ops': >> arch/x86/xen/time.c:418:29: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] x86_platform.get_wallclock = xen_get_wallclock; ^ arch/x86/xen/time.c:421:30: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] x86_platform.set_wallclock = xen_set_wallclock; ^ arch/x86/xen/time.c: In function 'xen_hvm_init_time_ops': arch/x86/xen/time.c:458:29: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] x86_platform.get_wallclock = xen_get_wallclock; ^ arch/x86/xen/time.c:459:29: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] x86_platform.set_wallclock = xen_set_wallclock; ^ cc1: some warnings being treated as errors -- In file included from include/linux/printk.h:6:0, from include/linux/kernel.h:13, from arch/x86/platform/intel-mid/intel_mid_vrtc.c:20: arch/x86/platform/intel-mid/intel_mid_vrtc.c: In function 'vrtc_set_mmss': >> include/linux/kern_levels.h:4:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type '__kernel_time_t {aka const long int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^~~~~~~~ include/linux/printk.h:301:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~ >> arch/x86/platform/intel-mid/intel_mid_vrtc.c:113:3: note: in expansion of macro 'pr_err' pr_err("%s: Invalid vRTC value: write of %llx to vRTC failed\n", ^~~~~~ -- In file included from include/linux/printk.h:6:0, from include/linux/kernel.h:13, from arch/x86//platform/intel-mid/intel_mid_vrtc.c:20: arch/x86//platform/intel-mid/intel_mid_vrtc.c: In function 'vrtc_set_mmss': >> include/linux/kern_levels.h:4:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type '__kernel_time_t {aka const long int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^~~~~~~~ include/linux/printk.h:301:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~ arch/x86//platform/intel-mid/intel_mid_vrtc.c:113:3: note: in expansion of macro 'pr_err' pr_err("%s: Invalid vRTC value: write of %llx to vRTC failed\n", ^~~~~~ vim +418 arch/x86/xen/time.c 409771d2 Stefano Stabellini 2010-05-14 408 d162809f Boris Ostrovsky 2017-05-03 409 void __ref xen_init_time_ops(void) 409771d2 Stefano Stabellini 2010-05-14 410 { 409771d2 Stefano Stabellini 2010-05-14 411 pv_time_ops = xen_time_ops; 409771d2 Stefano Stabellini 2010-05-14 412 409771d2 Stefano Stabellini 2010-05-14 413 x86_init.timers.timer_init = xen_time_init; 409771d2 Stefano Stabellini 2010-05-14 414 x86_init.timers.setup_percpu_clockev = x86_init_noop; 409771d2 Stefano Stabellini 2010-05-14 415 x86_cpuinit.setup_percpu_clockev = x86_init_noop; 409771d2 Stefano Stabellini 2010-05-14 416 409771d2 Stefano Stabellini 2010-05-14 417 x86_platform.calibrate_tsc = xen_tsc_khz; 409771d2 Stefano Stabellini 2010-05-14 @418 x86_platform.get_wallclock = xen_get_wallclock; 47433b8c David Vrabel 2013-06-27 419 /* Dom0 uses the native method to set the hardware RTC. */ 47433b8c David Vrabel 2013-06-27 420 if (!xen_initial_domain()) 409771d2 Stefano Stabellini 2010-05-14 421 x86_platform.set_wallclock = xen_set_wallclock; 409771d2 Stefano Stabellini 2010-05-14 422 } 409771d2 Stefano Stabellini 2010-05-14 423 :::::: The code at line 418 was first introduced by commit :::::: 409771d258e9dd71c30f3c9520fd2b796ffc40f0 x86: Use xen_vcpuop_clockevent, xen_clocksource and xen wallclock. :::::: TO: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> :::::: CC: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip