tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/deprecated/android-4.4-p-release head: c159ade87311501e4e4b40eb2f35aa5607732957 commit: e5486e9c8991aa5b55959c96b6b375645b12dad6 [5601/9922] FROMLIST: tracing: Add support for preempt and irq enable/disable events config: x86_64-rhel-8.3-kselftests compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/e5486e9c8991aa5b55959c96b6b375645b12dad6 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/deprecated/android-4.4-p-release git checkout e5486e9c8991aa5b55959c96b6b375645b12dad6 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash LDFLAGS=-z max-page-size=0x200000 kernel/trace/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/uaccess.h:4:0, from kernel/trace/trace_irqsoff.c:13: include/linux/sched.h:1208:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const struct sched_group_energy * const(*sched_domain_energy_f)(int cpu); ^~~~~ In file included from include/asm-generic/percpu.h:6:0, from arch/x86/include/asm/percpu.h:551, from arch/x86/include/asm/preempt.h:5, from include/linux/preempt.h:59, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from include/linux/uaccess.h:4, from kernel/trace/trace_irqsoff.c:13: >> kernel/trace/trace_irqsoff.c:772:28: warning: 'tracing_irq_cpu' defined but not used [-Wunused-variable] static DEFINE_PER_CPU(int, tracing_irq_cpu); ^ include/linux/percpu-defs.h:105:19: note: in definition of macro 'DEFINE_PER_CPU_SECTION' __typeof__(type) name ^~~~ kernel/trace/trace_irqsoff.c:772:8: note: in expansion of macro 'DEFINE_PER_CPU' static DEFINE_PER_CPU(int, tracing_irq_cpu); ^~~~~~~~~~~~~~ vim +/tracing_irq_cpu +772 kernel/trace/trace_irqsoff.c 770 771 /* Per-cpu variable to prevent redundant calls when IRQs already off */ > 772 static DEFINE_PER_CPU(int, tracing_irq_cpu); 773 -- 0-DAY CI Kernel Test Service https://01.org/lkp