[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202411262123.zw9MlOvN-lkp@intel.com>
Date: Tue, 26 Nov 2024 21:38:24 +0800
From: kernel test robot <lkp@...el.com>
To: Dirk Behme <dirk.behme@...bosch.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Miguel Ojeda <ojeda@...nel.org>, Gary Guo <gary@...yguo.net>
Subject: rust/helpers/mutex.c:11:6: sparse: sparse: symbol
'rust_helper___mutex_init' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7eef7e306d3c40a0c5b9ff6adc9b273cc894dbd5
commit: d065cc76054d21e48a839a2a19ba99dbc51a4d11 rust: mutex: fix __mutex_init() usage in case of PREEMPT_RT
date: 9 weeks ago
config: um-randconfig-r111-20241126 (https://download.01.org/0day-ci/archive/20241126/202411262123.zw9MlOvN-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241126/202411262123.zw9MlOvN-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/202411262123.zw9MlOvN-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
>> rust/helpers/mutex.c:11:6: sparse: sparse: symbol 'rust_helper___mutex_init' was not declared. Should it be static?
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/helpers.c: note: in included file:
rust/helpers/spinlock.c:16:6: sparse: sparse: context imbalance in 'rust_helper_spin_lock' - wrong count at exit
rust/helpers/spinlock.c:21:6: sparse: sparse: context imbalance in 'rust_helper_spin_unlock' - unexpected unlock
vim +/rust_helper___mutex_init +11 rust/helpers/mutex.c
10
> 11 void rust_helper___mutex_init(struct mutex *mutex, const char *name,
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists