Re: [PATCH v2 1/1] [PATCH] loongson: Fix idle VS timer enqueue
From: kernel test robot
Date: Sun Feb 09 2025 - 14:09:35 EST
Hi Marco,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.14-rc1 next-20250207]
[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/Marco-Crivellari/loongson-Fix-idle-VS-timer-enqueue/20250208-182213
base: linus/master
patch link: https://lore.kernel.org/r/20250208101924.20743-2-marco.crivellari%40suse.com
patch subject: [PATCH v2 1/1] [PATCH] loongson: Fix idle VS timer enqueue
config: loongarch-randconfig-r054-20250209 (https://download.01.org/0day-ci/archive/20250210/202502100258.jJThV6DP-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
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/202502100258.jJThV6DP-lkp@xxxxxxxxx/
cocci warnings: (new ones prefixed by >>)
>> arch/loongarch/kernel/reset.c:37:2-3: Unneeded semicolon
arch/loongarch/kernel/reset.c:57:2-3: Unneeded semicolon
arch/loongarch/kernel/reset.c:78:2-3: Unneeded semicolon
vim +37 arch/loongarch/kernel/reset.c
22
23 void machine_halt(void)
24 {
25 #ifdef CONFIG_SMP
26 preempt_disable();
27 smp_send_stop();
28 #endif
29 local_irq_disable();
30 clear_csr_ecfg(ECFG0_IM);
31
32 pr_notice("\n\n** You can safely turn off the power now **\n\n");
33 console_flush_on_panic(CONSOLE_FLUSH_PENDING);
34
35 while (1) {
36 asm volatile("idle 0" : : : "memory");
> 37 };
38 }
39
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki