Hi Arnd, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [cannot apply to v6.6 next-20231109] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Arnd-Bergmann/ida-make-ida_dump-static/20231109-005742 base: linus/master patch link: https://lore.kernel.org/r/20231108125843.3806765-16-arnd%40kernel.org patch subject: [PATCH 15/22] arch: vdso: consolidate gettime prototypes config: um-allnoconfig (https://download.01.org/0day-ci/archive/20231109/202311091740.g315K93o-lkp@xxxxxxxxx/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231109/202311091740.g315K93o-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202311091740.g315K93o-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> arch/x86/um/vdso/um_vdso.c:17:5: error: conflicting types for '__vdso_clock_gettime' 17 | int __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) | ^ include/vdso/gettime.h:16:5: note: previous declaration is here 16 | int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); | ^ arch/x86/um/vdso/um_vdso.c:58:1: warning: no previous prototype for function '__vdso_getcpu' [-Wmissing-prototypes] 58 | __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) | ^ arch/x86/um/vdso/um_vdso.c:57:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 57 | long | ^ | static 1 warning and 1 error generated. vim +/__vdso_clock_gettime +17 arch/x86/um/vdso/um_vdso.c f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 16 82210fc778982d arch/x86/um/vdso/um_vdso.c Arnd Bergmann 2019-10-27 @17 int __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 18 { f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 19 long ret; f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 20 5541992e512de8 arch/x86/um/vdso/um_vdso.c Ammar Faizi 2022-12-24 21 asm("syscall" 5541992e512de8 arch/x86/um/vdso/um_vdso.c Ammar Faizi 2022-12-24 22 : "=a" (ret) 5541992e512de8 arch/x86/um/vdso/um_vdso.c Ammar Faizi 2022-12-24 23 : "0" (__NR_clock_gettime), "D" (clock), "S" (ts) 5541992e512de8 arch/x86/um/vdso/um_vdso.c Ammar Faizi 2022-12-24 24 : "rcx", "r11", "memory"); f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 25 f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 26 return ret; f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 27 } 82210fc778982d arch/x86/um/vdso/um_vdso.c Arnd Bergmann 2019-10-27 28 int clock_gettime(clockid_t, struct __kernel_old_timespec *) f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 29 __attribute__((weak, alias("__vdso_clock_gettime"))); f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 30 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki