Re: [PATCH 1/3] rust: block: introduce `kernel::block::mq` module

kernel test robot
2024-05-13T11:58:34Z

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-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20240513/202405131926.5TqIqaTc-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/20240513/202405131926.5TqIqaTc-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/202405131926.5TqIqaTc-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> warning: unresolved link to `GenDisk`
--> rust/kernel/block/mq.rs:10:18
|
10 | //! - Create a [`GenDisk<T>`], passing in the `TagSet` reference
| ^^^^^^^^^^ no item named `GenDisk` in scope
|
= help: to escape `[` and `]` characters, add '' before them like `[` or `]`
= note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
--
>> warning: unresolved link to `GenDisk::add`
--> rust/kernel/block/mq.rs:11:47
|
11 | //! - Add the disk to the system by calling [`GenDisk::add`]
| ^^^^^^^^^^^^ no item named `GenDisk` in scope
--
>> warning: unresolved link to `Operations::RequestData`
--> rust/kernel/block/mq.rs:22:45
|
22 | //! associated types in `Operations`, see [`Operations::RequestData`] for an
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Operations` has no associated item named `RequestData`
--
>> warning: unresolved link to `Request::start`
--> rust/kernel/block/mq.rs:30:51
|
30 | //! mark start of request processing by calling [`Request::start`] and end of
| ^^^^^^^^^^^^^^ the struct `Request` has no field or associated item named `start`
--
>> warning: unresolved link to `Request::end`
--> rust/kernel/block/mq.rs:31:40
|
31 | //! processing by calling one of the [`Request::end`], methods. Failure to do so
| ^^^^^^^^^^^^ the struct `Request` has no field or associated item named `end`

--
0-DAY CI Kernel Test Service