Re: [paulmckrcu:dev.2026.07.13b 75/86] warning: constant `WARN_ON_FLAGS` is never used
"FUJITA Tomonori" <[email protected]> Mon, 20 Jul 2026 12:59:46 +0900
| Newsgroups | dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
Hi, Thanks for the report. On Mon, Jul 20, 2026, at 10:25 AM, Boqun Feng wrote: > On Sun, Jul 19, 2026 at 12:38:20AM +0800, kernel test robot wrote: >> tree: https://github.com/paulmckrcu/linux dev.2026.07.13b >> head: 04b88652be5bc3b092a63198d1b2bebaf46b9e72 >> commit: f41634950050921c691e1fabdafc0304c2aedfdf [75/86] rust: sync: add SRCU abstraction >> config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20260719/[email protected]/config) >> compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) >> rustc: rustc 1.96.0 (ac68faa20 2026-05-25) >> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260719/[email protected]/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 <[email protected]> >> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ >> >> All warnings (new ones prefixed by >>): >> >> >> warning: constant `WARN_ON_FLAGS` is never used >> --> rust/kernel/bug.rs:126:19 >> | >> 126 | const WARN_ON_FLAGS: u32 = $crate::bug::bugflag_taint($crate::bindings::TAINT_WARN); >> | ^^^^^^^^^^^^^ > > [Cc Miguel and Tomo] > > Is this one supposed to fix the issue? > > https://lore.kernel.org/rust-for-linux/[email protected]/ It doesn't. I've just sent a fix: https://lore.kernel.org/rust-for-linux/[email protected]/