CC: [email protected] CC: [email protected] CC: [email protected] TO: Ingo Molnar <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core/urgent head: e9ba16e68cce2f85e9f5d2eba5c0453f1a741fd2 commit: e9ba16e68cce2f85e9f5d2eba5c0453f1a741fd2 [1/1] smpboot: Mark idle_init() as __always_inlined to work around aggressive compiler un-inlining :::::: branch date: 8 hours ago :::::: commit date: 8 hours ago config: mips-randconfig-s031-20210713 (attached as .config) compiler: mipsel-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.3-341-g8af24329-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=e9ba16e68cce2f85e9f5d2eba5c0453f1a741fd2 git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git git fetch --no-tags tip core/urgent git checkout e9ba16e68cce2f85e9f5d2eba5c0453f1a741fd2 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=mips SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> sparse warnings: (new ones prefixed by >>) command-line: note: in included file: builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined builtin:0:0: sparse: this was the original definition >> kernel/smpboot.c:50:20: sparse: sparse: duplicate inline vim +50 kernel/smpboot.c 29d5e0476e1c4a Thomas Gleixner 2012-04-20 43 4a70d2d9909b43 Srivatsa S. Bhat 2012-05-24 44 /** 4a70d2d9909b43 Srivatsa S. Bhat 2012-05-24 45 * idle_init - Initialize the idle thread for a cpu 4a70d2d9909b43 Srivatsa S. Bhat 2012-05-24 46 * @cpu: The cpu for which the idle thread should be initialized 4a70d2d9909b43 Srivatsa S. Bhat 2012-05-24 47 * 4a70d2d9909b43 Srivatsa S. Bhat 2012-05-24 48 * Creates the thread if it does not exist. 4a70d2d9909b43 Srivatsa S. Bhat 2012-05-24 49 */ e9ba16e68cce2f Ingo Molnar 2021-07-11 @50 static inline void __always_inline idle_init(unsigned int cpu) 29d5e0476e1c4a Thomas Gleixner 2012-04-20 51 { 3bb5d2ee396aab Suresh Siddha 2012-04-20 52 struct task_struct *tsk = per_cpu(idle_threads, cpu); 3bb5d2ee396aab Suresh Siddha 2012-04-20 53 3bb5d2ee396aab Suresh Siddha 2012-04-20 54 if (!tsk) { 3bb5d2ee396aab Suresh Siddha 2012-04-20 55 tsk = fork_idle(cpu); 3bb5d2ee396aab Suresh Siddha 2012-04-20 56 if (IS_ERR(tsk)) 3bb5d2ee396aab Suresh Siddha 2012-04-20 57 pr_err("SMP: fork_idle() failed for CPU %u\n", cpu); 3bb5d2ee396aab Suresh Siddha 2012-04-20 58 else 3bb5d2ee396aab Suresh Siddha 2012-04-20 59 per_cpu(idle_threads, cpu) = tsk; 3bb5d2ee396aab Suresh Siddha 2012-04-20 60 } 29d5e0476e1c4a Thomas Gleixner 2012-04-20 61 } 29d5e0476e1c4a Thomas Gleixner 2012-04-20 62 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
