Re: [boqun:rust-sync 19/24] warning: unresolved link to `rcu::Guard`

Boqun Feng <[email protected]> Sun, 26 Jul 2026 16:30:06 -0700
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <amaYfo35n4am1caP@MacBook-0RXW5>
On Sat, Jul 25, 2026 at 06:22:13PM +0200, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/boqun/linux.git rust-sync
> head:   6f6629ab2185d27cbc65d7d85908159b1293c082
> commit: f27758ba5f0adefa226d8fc91c73e2300cf97ca9 [19/24] rust: sync: Add abstraction for synchronize_rcu()
> config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260725/[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/20260725/[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 >>):
> 

Thanks! I've fixed in my tree.

Regards,
Boqun

> >> warning: unresolved link to `rcu::Guard`
>    --> rust/kernel/sync/rcu.rs:57:9
>    |
>    57 | /// a [`rcu::Guard`]) at the moment of the function call to finish.
>    |         ^^^^^^^^^^ no item named `rcu` in scope
>    |
>    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
> 
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki