All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android17-6.18 1/1] warning: constant `WARN_ON_FLAGS` is never used
@ 2026-11-27 17:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-27 17:23 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android17-6.18
head:   b38025ea3e69ef15148e9c5eb6973b879eb604e2
commit: 97882be093cae6e16d6d2a114a6422de92653a01 [1/1] UPSTREAM: rust: sync: add SRCU abstraction
config: arm64-randconfig-2000-20261127 (https://download.01.org/0day-ci/archive/20261127/20261127181529.10ADLWB3-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 578b1f2d6a9776b63cbb6b86f4cca6208d429f48)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261127/20261127181529.10ADLWB3-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261127181529.10ADLWB3-lkp@intel.com/

All warnings (new ones prefixed by >>):

   scripts/sorttable.c:452:12: warning: variable 'long_size' set but not used [-Wunused-but-set-global]
   452 | static int long_size;
   |            ^
   1 warning generated.
>> warning: constant `WARN_ON_FLAGS` is never used
   --> rust/kernel/bug.rs:120:19
   |
   120 |               const WARN_ON_FLAGS: u32 = $crate::bug::bugflag_taint($crate::bindings::TAINT_WARN);
   |                     ^^^^^^^^^^^^^
   |
   ::: rust/kernel/sync/srcu.rs:106:12
   |
   106 |           if crate::warn_on!(
   |  ____________-
   107 | |             // SAFETY: By the type invariants, `self` contains a valid and pinned `struct srcu_struct`
   108 | |             // and `srcu_readers_active()` only checks the active reader count.
   109 | |             unsafe { bindings::srcu_readers_active(ptr) }
   110 | |         ) {
   | |_________- in this macro invocation
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
   = note: this warning originates in the macro `crate::warn_on` (in Nightly builds, run with -Z macro-backtrace for more info)

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27 17:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 17:23 [android-common:android17-6.18 1/1] warning: constant `WARN_ON_FLAGS` is never used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.