Re: [PATCH v2 3/3] watchdog: softdog_rs: add Rust software watchdog driver

kernel test robot <[email protected]>
Newsgroups org.kernel.vger.rust-for-linux,dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-kernel,org.kernel.vger.linux-watchdog
Message-ID <[email protected]>
Hi Artem,

kernel test robot noticed the following build warnings:

[auto build test WARNING on rust/rust-next]
[also build test WARNING on linus/master v7.2 next-20260721]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Artem-Lytkin/rust-watchdog-add-watchdog-device-abstraction/20260813-051424
base:   https://github.com/Rust-for-Linux/linux rust-next
patch link:    https://lore.kernel.org/r/20260723161529.23759-4-iprintercanon%40gmail.com
patch subject: [PATCH v2 3/3] watchdog: softdog_rs: add Rust software watchdog driver
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260817/[email protected]/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260817/[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: this `impl` can be derived
   --> rust/kernel/watchdog.rs:164:1
   |
   164 | / impl Default for Options {
   165 | |     fn default() -> Self {
   166 | |         Self {
   167 | |             timeout: 0,
   ...   |
   175 | | }
   | |_^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#derivable_impls
   = note: `-W clippy::derivable-impls` implied by `-W clippy::all`
   = help: to override `-W clippy::all` add `#[allow(clippy::derivable_impls)]`
   help: replace the manual implementation with a derive attribute
   |
   147 + #[derive(Default)]
   148 | pub struct Options {
   |
--
>> warning: unresolved link to `super::Info::new`
   --> rust/kernel/watchdog.rs:98:7
   |
   98 | /// [`super::Info::new`].
   |       ^^^^^^^^^^^^^^^^ no item named `Info` in module `kernel`
   |
   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
--
>> warning: public documentation for `Registration` links to private item `Inner`
   --> rust/kernel/watchdog.rs:392:34
   |
   392 | /// - `inner` points at a live [`Inner`] obtained from [`KBox::into_raw`],
   |                                  ^^^^^ this item is private
   |
   = note: this link will resolve properly if you pass `--document-private-items`
   = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
--
>> warning: public documentation for `Registration` links to private item `Inner`
   --> rust/kernel/watchdog.rs:395:45
   |
   395 | ///   the `ops` and `data` fields of that [`Inner`].
   |                                             ^^^^^ this item is private
   |
   = note: this link will resolve properly if you pass `--document-private-items`

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.