* Re: [PATCH 1/3] rust: block: introduce `kernel::block::mq` module
[not found] <20240512183950.1982353-2-nmi@metaspace.dk>
@ 2024-05-13 21:13 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-13 21:13 UTC (permalink / raw
To: Andreas Hindborg, Jens Axboe, Christoph Hellwig, Keith Busch,
Damien Le Moal, Bart Van Assche, Hannes Reinecke, Ming Lei,
linux-block@vger.kernel.org
Cc: llvm, oe-kbuild-all, Andreas Hindborg, Wedson Almeida Filho,
Greg KH, Matthew Wilcox, Miguel Ojeda, Alex Gaynor, Boqun Feng,
Gary Guo, Björn Roy Baron, Benno Lossin, Alice Ryhl,
Chaitanya Kulkarni, Luis Chamberlain, Yexuan Yang,
Sergio González Collado, Joel Granados,
Pankaj Raghav (Samsung), Daniel Gomez, Niklas Cassel,
Philipp Stanner, Conor Dooley, Johannes Thumshirn
Hi Andreas,
kernel test robot noticed the following build warnings:
[auto build test WARNING on fec50db7033ea478773b159e0e2efb135270e3b7]
url: https://github.com/intel-lab-lkp/linux/commits/Andreas-Hindborg/rust-block-introduce-kernel-block-mq-module/20240513-024107
base: fec50db7033ea478773b159e0e2efb135270e3b7
patch link: https://lore.kernel.org/r/20240512183950.1982353-2-nmi%40metaspace.dk
patch subject: [PATCH 1/3] rust: block: introduce `kernel::block::mq` module
config: x86_64-buildonly-randconfig-004-20240514 (https://download.01.org/0day-ci/archive/20240514/202405140410.Pg9JrkDO-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240514/202405140410.Pg9JrkDO-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/202405140410.Pg9JrkDO-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> warning: method `to_blk_status` is never used
--> rust/kernel/error.rs:133:19
|
97 | impl Error {
| ---------- method in this implementation
...
133 | pub(crate) fn to_blk_status(self) -> bindings::blk_status_t {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread