arch/um/os-Linux/skas/process.c:551:12: warning: variable 'unscheduled_userspace_iterations' set but not used
From: kernel test robot
Date: Sun Mar 29 2026 - 20:05:36 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7aaa8047eafd0bd628065b15757d9b48c5f9c07d
commit: 159e76514b9565f92ca5beebc1f92faed21a03aa um: Make unscheduled_userspace_iterations static
date: 9 months ago
config: um-allnoconfig (https://download.01.org/0day-ci/archive/20260330/202603300736.r12I6Pmp-lkp@xxxxxxxxx/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 054e11d1a17e5ba88bb1a8ef32fad3346e80b186)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260330/202603300736.r12I6Pmp-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603300736.r12I6Pmp-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> arch/um/os-Linux/skas/process.c:551:12: warning: variable 'unscheduled_userspace_iterations' set but not used [-Wunused-but-set-global]
551 | static int unscheduled_userspace_iterations;
| ^
1 warning generated.
vim +/unscheduled_userspace_iterations +551 arch/um/os-Linux/skas/process.c
550
> 551 static int unscheduled_userspace_iterations;
552 extern unsigned long tt_extra_sched_jiffies;
553
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki