On 11/27/23 22:22, Dan Carpenter wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab > commit: fad84e39f116035ae8d550c6020107b8ac113b45 ARC: boot log: eliminate > struct cpuinfo_arc #4: boot log per ISA > config: arc-randconfig-r071-20231128 > (https://download.01.org/0day-ci/archive/20231128/202311280906.vaiweaft-...@intel.com/config) > compiler: arceb-elf-gcc (GCC) 13.2.0 > reproduce: > (https://download.01.org/0day-ci/archive/20231128/202311280906.vaiweaft-...@intel.com/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 <l...@intel.com> > | Reported-by: Dan Carpenter <erro...@gmail.com> > | Closes: https://lore.kernel.org/r/202311280906.vaiweaft-...@intel.com/ > > New smatch warnings: > arch/arc/kernel/setup.c:203 arcv2_mumbojumbo() error: uninitialized symbol > 'release'.
Thx, I've posted a fix. > Old smatch warnings: > arch/arc/include/asm/thread_info.h:62 current_thread_info() error: > uninitialized symbol 'sp'. This seems like a false warning. Its a register variable and thus can't possibly be initialized. static inline __attribute_const__ struct thread_info *current_thread_info(void) { register unsigned long sp asm("sp"); return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); } _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc