[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202412071423.c7PgbhHM-lkp@intel.com>
Date: Mon, 9 Dec 2024 12:08:37 +0800
From: kernel test robot <lkp@...el.com>
To: Benjamin Berg <benjamin.berg@...el.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Johannes Berg <johannes.berg@...el.com>
Subject: arch/um/os-Linux/skas/process.c:391:5: sparse: sparse: symbol
'unscheduled_userspace_iterations' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b5f217084ab3ddd4bdd03cd437f8e3b7e2d1f5b6
commit: 0b8b2668f9981c1fefc2ef892bd915288ef01f33 um: insert scheduler ticks when userspace does not yield
date: 6 weeks ago
config: um-randconfig-r111-20241207 (https://download.01.org/0day-ci/archive/20241207/202412071423.c7PgbhHM-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241207/202412071423.c7PgbhHM-lkp@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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412071423.c7PgbhHM-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
arch/um/os-Linux/skas/process.c: note: in included file (through include/linux/compiler_types.h, arch/um/include/shared/init.h):
include/linux/compiler_attributes.h:55:9: sparse: sparse: preprocessor token __always_inline redefined
arch/um/os-Linux/skas/process.c: note: in included file (through /usr/include/features.h, /usr/include/sys/types.h, arch/um/include/shared/user.h, builtin):
/usr/include/sys/cdefs.h:426:10: sparse: this was the original definition
arch/um/os-Linux/skas/process.c: note: in included file (through arch/um/include/shared/init.h):
include/linux/compiler_types.h:91:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_FUNCTION_ALIGNMENT'
include/linux/compiler_types.h:112:56: sparse: sparse: undefined preprocessor identifier 'CONFIG_FUNCTION_ALIGNMENT'
>> arch/um/os-Linux/skas/process.c:391:5: sparse: sparse: symbol 'unscheduled_userspace_iterations' was not declared. Should it be static?
vim +/unscheduled_userspace_iterations +391 arch/um/os-Linux/skas/process.c
390
> 391 int unscheduled_userspace_iterations;
392 extern unsigned long tt_extra_sched_jiffies;
393
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists