tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git call-depth-tracking head: 856304fc062b9ad34742a604b98cc775846c0cb3 commit: 46f9bf3269a589dc0258ae68c32e064e25a0a149 [59/60] x86/ftrace: Make it call depth tracking aware config: arm64-allyesconfig compiler: aarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=46f9bf3269a589dc0258ae68c32e064e25a0a149 git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git git fetch --no-tags peterz-queue call-depth-tracking git checkout 46f9bf3269a589dc0258ae68c32e064e25a0a149 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash kernel/trace/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): kernel/trace/trace.c: In function 'trace_check_vprintf': kernel/trace/trace.c:3846:17: warning: function 'trace_check_vprintf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 3846 | trace_seq_vprintf(&iter->seq, iter->fmt, ap); | ^~~~~~~~~~~~~~~~~ kernel/trace/trace.c:3913:17: warning: function 'trace_check_vprintf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 3913 | trace_seq_vprintf(&iter->seq, p, ap); | ^~~~~~~~~~~~~~~~~ In file included from arch/arm64/include/asm/asm-offsets.h:1, from kernel/trace/trace_selftest.c:10, from kernel/trace/trace.c:8672: ./include/generated/asm-offsets.h: At top level: >> ./include/generated/asm-offsets.h:60: warning: "VM_EXEC" redefined 60 | #define VM_EXEC 4 /* VM_EXEC */ | In file included from include/linux/ring_buffer.h:5, from kernel/trace/trace.c:15: include/linux/mm.h:268: note: this is the location of the previous definition 268 | #define VM_EXEC 0x00000004 | >> ./include/generated/asm-offsets.h:67: warning: "PREEMPT_DISABLE_OFFSET" redefined 67 | #define PREEMPT_DISABLE_OFFSET 1 /* PREEMPT_DISABLE_OFFSET */ | In file included from include/linux/spinlock.h:55, from include/linux/mmzone.h:8, from include/linux/gfp.h:7, from include/linux/mm.h:7: include/linux/preempt.h:137: note: this is the location of the previous definition 137 | # define PREEMPT_DISABLE_OFFSET PREEMPT_OFFSET | >> ./include/generated/asm-offsets.h:68: warning: "SOFTIRQ_SHIFT" redefined 68 | #define SOFTIRQ_SHIFT 8 /* SOFTIRQ_SHIFT */ | include/linux/preempt.h:38: note: this is the location of the previous definition 38 | #define SOFTIRQ_SHIFT (PREEMPT_SHIFT + PREEMPT_BITS) | >> ./include/generated/asm-offsets.h:121: warning: "TRAMP_VALIAS" redefined 121 | #define TRAMP_VALIAS -8627724288 /* TRAMP_VALIAS */ | In file included from arch/arm64/include/asm/pgtable.h:32, from include/linux/pgtable.h:6, from include/linux/mm.h:29: arch/arm64/include/asm/fixmap.h:71: note: this is the location of the previous definition 71 | #define TRAMP_VALIAS (__fix_to_virt(FIX_ENTRY_TRAMP_TEXT1)) | -- In file included from arch/arm64/include/asm/asm-offsets.h:1, from kernel/trace/trace_selftest.c:10, from kernel/trace/trace.c:8672: >> ./include/generated/asm-offsets.h:60: warning: "VM_EXEC" redefined 60 | #define VM_EXEC 4 /* VM_EXEC */ | In file included from include/linux/ring_buffer.h:5, from kernel/trace/trace.c:15: include/linux/mm.h:268: note: this is the location of the previous definition 268 | #define VM_EXEC 0x00000004 | >> ./include/generated/asm-offsets.h:67: warning: "PREEMPT_DISABLE_OFFSET" redefined 67 | #define PREEMPT_DISABLE_OFFSET 1 /* PREEMPT_DISABLE_OFFSET */ | In file included from include/linux/spinlock.h:55, from include/linux/mmzone.h:8, from include/linux/gfp.h:7, from include/linux/mm.h:7: include/linux/preempt.h:137: note: this is the location of the previous definition 137 | # define PREEMPT_DISABLE_OFFSET PREEMPT_OFFSET | >> ./include/generated/asm-offsets.h:68: warning: "SOFTIRQ_SHIFT" redefined 68 | #define SOFTIRQ_SHIFT 8 /* SOFTIRQ_SHIFT */ | include/linux/preempt.h:38: note: this is the location of the previous definition 38 | #define SOFTIRQ_SHIFT (PREEMPT_SHIFT + PREEMPT_BITS) | >> ./include/generated/asm-offsets.h:121: warning: "TRAMP_VALIAS" redefined 121 | #define TRAMP_VALIAS -8627724288 /* TRAMP_VALIAS */ | In file included from arch/arm64/include/asm/pgtable.h:32, from include/linux/pgtable.h:6, from include/linux/mm.h:29: arch/arm64/include/asm/fixmap.h:71: note: this is the location of the previous definition 71 | #define TRAMP_VALIAS (__fix_to_virt(FIX_ENTRY_TRAMP_TEXT1)) | -- 0-DAY CI Kernel Test Service https://01.org/lkp